feat: data export and import

This commit is contained in:
shinya
2025-08-15 13:49:08 +08:00
parent bcffdaf172
commit bd0c10feaa
18 changed files with 936 additions and 167 deletions

View File

@@ -32,7 +32,7 @@ export async function POST(request: NextRequest) {
if (username !== process.env.USERNAME) {
return NextResponse.json(
{ error: '权限不足,只有站长可以修改配置文件' },
{ status: 403 }
{ status: 401 }
);
}