管理配置增加重载

This commit is contained in:
mtvpls
2026-01-14 20:02:45 +08:00
parent 2dd2c007a9
commit 3018f2ff66
3 changed files with 87 additions and 6 deletions
+5
View File
@@ -610,4 +610,9 @@ export async function getAvailableApiSites(user?: string): Promise<ApiSite[]> {
export async function setCachedConfig(config: AdminConfig) {
cachedConfig = config;
}
export async function clearConfigCache() {
cachedConfig = null as any;
configInitPromise = null;
}