forked from 77media/video-flow
This commit is contained in:
parent
759ca3f12c
commit
b3f8097f98
@ -36,7 +36,7 @@ export function useWorkflowData({ onEditPlanGenerated, editingStatus, onExportFa
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const cutUrl = process.env.NEXT_PUBLIC_CUT_URL || 'https://cut.movieflow.ai';
|
const cutUrl = process.env.NEXT_PUBLIC_CUT_URL || 'https://smartcut.api.movieflow.ai';
|
||||||
console.log('cutUrl', cutUrl);
|
console.log('cutUrl', cutUrl);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
@ -115,7 +115,7 @@ export class VideoExportService {
|
|||||||
this.config = {
|
this.config = {
|
||||||
maxRetries: config.maxRetries || 3,
|
maxRetries: config.maxRetries || 3,
|
||||||
pollInterval: config.pollInterval || 5000, // 5秒轮询
|
pollInterval: config.pollInterval || 5000, // 5秒轮询
|
||||||
apiBaseUrl: process.env.NEXT_PUBLIC_CUT_URL || 'https://smartcut.movieflow.ai'
|
apiBaseUrl: process.env.NEXT_PUBLIC_CUT_URL || 'https://smartcut.api.movieflow.ai'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user