forked from 77media/video-flow
修复构建
This commit is contained in:
parent
13a2e0ed22
commit
c7daf47513
@ -1,6 +1,10 @@
|
||||
'use client';
|
||||
|
||||
import WorkFlow from '@/components/pages/work-flow';
|
||||
import dynamic from 'next/dynamic';
|
||||
|
||||
const WorkFlow = dynamic(() => import('@/components/pages/work-flow'), {
|
||||
ssr: false
|
||||
});
|
||||
|
||||
export default function ScriptWorkFlowPage() {
|
||||
return <WorkFlow />;
|
||||
|
||||
@ -49,10 +49,8 @@ const nextConfig = {
|
||||
];
|
||||
},
|
||||
|
||||
// 确保静态文件可以正常访问
|
||||
experimental: {
|
||||
// 设置生成超时时间
|
||||
staticPageGenerationTimeout: 120,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user