剪辑环境变量配置

This commit is contained in:
qikongjian 2025-09-20 14:11:01 +08:00
parent d157202a48
commit b0de87774d
2 changed files with 6 additions and 3 deletions

View File

@ -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
# 失败率配置
NEXT_PUBLIC_ERROR_CONFIG = 0.2%

View File

@ -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'
};
}