From b0de87774de7345fad62521b4fcd08d801bda367 Mon Sep 17 00:00:00 2001 From: qikongjian Date: Sat, 20 Sep 2025 14:11:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=AA=E8=BE=91=E7=8E=AF=E5=A2=83=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 7 +++++-- utils/export-service.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) 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' }; }