mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-03-07 04:27:33 +08:00
feat: make get config sync
This commit is contained in:
@@ -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();
|
||||
|
||||
// 权限校验
|
||||
|
||||
Reference in New Issue
Block a user