forked from 77media/video-flow
剪辑环境变量配置
This commit is contained in:
parent
d157202a48
commit
b0de87774d
@ -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%
|
||||
|
||||
@ -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'
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user