diff --git a/.env.production b/.env.production index aa93112..09365ea 100644 --- a/.env.production +++ b/.env.production @@ -6,6 +6,7 @@ NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai NEXT_PUBLIC_CUT_URL = https://smartcut.api.movieflow.ai +NEXT_PUBLIC_CUT_URL_TO = https://smartcut.movieflow.ai NEXT_PUBLIC_GOOGLE_REDIRECT_URI=https://www.movieflow.ai/api/auth/google/callback # 当前域名配置 NEXT_PUBLIC_FRONTEND_URL = https://www.movieflow.ai diff --git a/components/pages/work-flow/use-workflow-data.tsx b/components/pages/work-flow/use-workflow-data.tsx index ea7cf73..ba1f9a2 100644 --- a/components/pages/work-flow/use-workflow-data.tsx +++ b/components/pages/work-flow/use-workflow-data.tsx @@ -36,7 +36,7 @@ export function useWorkflowData({ onEditPlanGenerated, editingStatus, onExportFa } }; - const cutUrl = process.env.NEXT_PUBLIC_CUT_URL || 'https://smartcut.api.movieflow.ai'; + const cutUrl = process.env.NEXT_PUBLIC_CUT_URL_TO || 'https://smartcut.api.movieflow.ai'; console.log('cutUrl', cutUrl); useEffect(() => {