From a0351aabab8ea38cb7c0fe311aba9acf1b7c16c6 Mon Sep 17 00:00:00 2001 From: qikongjian Date: Sat, 20 Sep 2025 14:20:40 +0800 Subject: [PATCH] =?UTF-8?q?NEXT=5FPUBLIC=5FCUT=5FURL=E5=89=AA=E8=BE=91API?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=94=A8=E8=BF=99=E4=B8=AAkey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +-- .env.production | 3 +-- utils/export-service.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.env.development b/.env.development index 8d301bb..8e8d382 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,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 = https://77.smartcut.py.qikongjian.com +NEXT_PUBLIC_CUT_URL = https://77.smartcut.py.qikongjian.com # 失败率 NEXT_PUBLIC_ERROR_CONFIG = 0.1 \ No newline at end of file diff --git a/.env.production b/.env.production index e8c8365..e919289 100644 --- a/.env.production +++ b/.env.production @@ -1,8 +1,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 = https://77.smartcut.py.qikongjian.com +NEXT_PUBLIC_CUT_URL = https://77.smartcut.py.qikongjian.com # 备用配置(已注释) # NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai diff --git a/utils/export-service.ts b/utils/export-service.ts index f121463..92807b5 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://77.smartcut.py.qikongjian.com' + apiBaseUrl: process.env.NEXT_PUBLIC_CUT_URL || 'https://smartcut.movieflow.ai' }; }