diff --git a/.env.production b/.env.production index 36482e6..ccd7166 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,9 @@ NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com NEXT_PUBLIC_CUT_URL = https://smartcut.huiying.video +NEXT_PUBLIC_CUTAPI_URL = http://77.smartcut.py.qikongjian.com # NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai # NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai # NEXT_PUBLIC_CUT_URL = https://smartcut.movieflow.ai # 失败率 -NEXT_PUBLIC_ERROR_CONFIG = 0.1 \ No newline at end of file +NEXT_PUBLIC_ERROR_CONFIG = 0.6 \ No newline at end of file diff --git a/utils/export-service.ts b/utils/export-service.ts index b225455..c6c81ff 100644 --- a/utils/export-service.ts +++ b/utils/export-service.ts @@ -116,7 +116,7 @@ export class VideoExportService { maxRetries: config.maxRetries || 3, pollInterval: config.pollInterval || 5000, // 5秒轮询 // apiBaseUrl: 'https://smartcut.api.movieflow.ai', - apiBaseUrl: process.env.NEXT_PUBLIC_CUT_URL || 'https://smartcut.api.movieflow.ai' + apiBaseUrl: process.env.NEXT_PUBLIC_CUTAPI_URL || 'https://smartcut.api.movieflow.ai' }; }