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

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