diff --git a/.env.development b/.env.development index 5e8761f..8d301bb 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ 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_CUTAPI_URL = https://77.smartcut.py.qikongjian.com # 失败率 NEXT_PUBLIC_ERROR_CONFIG = 0.1 \ No newline at end of file diff --git a/utils/export-service.ts b/utils/export-service.ts index 6ba4aea..73c504a 100644 --- a/utils/export-service.ts +++ b/utils/export-service.ts @@ -115,8 +115,7 @@ export class VideoExportService { this.config = { maxRetries: config.maxRetries || 3, pollInterval: config.pollInterval || 5000, // 5秒轮询 - apiBaseUrl: 'http://77.smartcut.py.qikongjian.com', - //apiBaseUrl: process.env.NEXT_PUBLIC_CUTAPI_URL || 'https://smartcut.api.movieflow.ai' + apiBaseUrl: process.env.NEXT_PUBLIC_CUTAPI_URL || 'https://smartcut.api.movieflow.ai' }; }