feat: make get config sync

This commit is contained in:
shinya
2025-07-13 20:04:30 +08:00
parent 6f4678c32a
commit c325cfaa84
14 changed files with 28 additions and 25 deletions

View File

@@ -74,7 +74,7 @@ export async function POST(request: NextRequest) {
}
// 获取配置与存储
const adminConfig = getConfig();
const adminConfig = await getConfig();
const storage: IStorage | null = getStorage();
// 判定操作者角色