fix(api): 强制转换 cron 路由为动态渲染,修复构建期预执行崩溃
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user