perf: 优化passkey

This commit is contained in:
xiaojunnuo
2026-03-18 00:43:01 +08:00
parent 0f9eb31740
commit 9e12412f5f
8 changed files with 28 additions and 14 deletions
@@ -51,8 +51,6 @@ export class AutoAInitSite {
//加载一次密钥
await this.sysSettingsService.getSecret();
//加载设置
await this.sysSettingsService.reloadSettings();
// 授权许可
try {
@@ -60,6 +58,9 @@ export class AutoAInitSite {
} catch (e) {
logger.error('授权许可验证失败', e);
}
//加载设置
await this.sysSettingsService.reloadSettings();
//加载站点隐藏配置
await this.safeService.reloadHiddenStatus(true)