fix(api): 强制转换 cron 路由为动态渲染,修复构建期预执行崩溃

This commit is contained in:
2026-05-03 15:26:16 +08:00
parent c3d49f74b6
commit a06b993558
5 changed files with 4 additions and 3 deletions
+1
View File
@@ -3,6 +3,7 @@ import { reconstructPortfolioHistory } from '@/actions/snapshots';
import { revalidatePath } from 'next/cache';
export const dynamic = 'force-dynamic';
export const fetchCache = 'force-no-store';
export const runtime = 'nodejs';
export const maxDuration = 3600;