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

@@ -53,7 +53,7 @@ export async function POST(request: NextRequest) {
return NextResponse.json({ error: '参数格式错误' }, { status: 400 });
}
const adminConfig = getConfig();
const adminConfig = await getConfig();
const storage = getStorage();
// 权限校验