diff --git a/.env.production b/.env.production index 6b07f89..e8c8365 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,12 @@ 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 = https://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.2 \ No newline at end of file +# 失败率配置 +NEXT_PUBLIC_ERROR_CONFIG = 0.2% diff --git a/utils/export-service.ts b/utils/export-service.ts index 73c504a..f121463 100644 --- a/utils/export-service.ts +++ b/utils/export-service.ts @@ -115,7 +115,7 @@ export class VideoExportService { this.config = { maxRetries: config.maxRetries || 3, pollInterval: config.pollInterval || 5000, // 5秒轮询 - apiBaseUrl: process.env.NEXT_PUBLIC_CUTAPI_URL || 'https://smartcut.api.movieflow.ai' + apiBaseUrl: process.env.NEXT_PUBLIC_CUTAPI_URL || 'https://77.smartcut.py.qikongjian.com' }; }