feat: unsupport edgeless

This commit is contained in:
shinya
2025-08-18 23:04:27 +08:00
parent ed3c4239dc
commit 4df244d3a3
28 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { AdminConfigResult } from '@/lib/admin.types';
import { getAuthInfoFromCookie } from '@/lib/auth';
import { getConfig } from '@/lib/config';
export const runtime = 'edge';
export const runtime = 'nodejs';
export async function GET(request: NextRequest) {
const storageType = process.env.NEXT_PUBLIC_STORAGE_TYPE || 'localstorage';