修复主题nextjs缓存

This commit is contained in:
mtvpls
2026-01-13 01:28:25 +08:00
parent ab666bd0f6
commit 4acec23b93

View File

@@ -6,6 +6,7 @@ import { getConfig } from '@/lib/config';
import { getThemeCSS } from '@/styles/themes';
export const runtime = 'nodejs';
export const dynamic = 'force-dynamic'; // 禁用缓存
export async function GET(request: NextRequest) {
try {