feat: 更新助手配置,添加应用ID和URL,优化身份验证和代理逻辑

This commit is contained in:
2025-12-18 20:56:18 +08:00
parent c77578805a
commit 91fdd6abc3
10 changed files with 259 additions and 44 deletions

View File

@@ -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 });