feat: 更新助手配置,添加应用ID和URL,优化身份验证和代理逻辑
This commit is contained in:
@@ -56,8 +56,8 @@ app.route({
|
||||
if (!auth.username) {
|
||||
// 初始管理员账号
|
||||
auth.username = loginUser;
|
||||
if (!auth.type) {
|
||||
auth.type = 'public';
|
||||
if (!auth.share) {
|
||||
auth.share = 'protected';
|
||||
}
|
||||
assistantConfig.setConfig({ auth });
|
||||
console.log('set first admin user', { username: loginUser });
|
||||
|
||||
Reference in New Issue
Block a user