修复server config nextjs缓存

This commit is contained in:
mtvpls
2026-01-13 01:31:18 +08:00
parent 4acec23b93
commit 02ba79f3d8

View File

@@ -6,6 +6,7 @@ import { getConfig } from '@/lib/config';
import { CURRENT_VERSION } from '@/lib/version'
export const runtime = 'nodejs';
export const dynamic = 'force-dynamic'; // 禁用缓存
export async function GET(request: NextRequest) {
console.log('server-config called: ', request.url);