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