fix(api): 强制转换 cron 路由为动态渲染,修复构建期预执行崩溃
This commit is contained in:
@@ -5,6 +5,7 @@ import { inArray } from 'drizzle-orm';
|
||||
import { ProxyAgent, setGlobalDispatcher } from 'undici';
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
export const fetchCache = 'force-no-store';
|
||||
export const runtime = 'nodejs';
|
||||
|
||||
function formatDateStr(date: Date): string {
|
||||
|
||||
Reference in New Issue
Block a user