forked from 77media/video-flow
剪辑环境变量配置
This commit is contained in:
parent
3ceee3752b
commit
d157202a48
@ -2,7 +2,7 @@
|
|||||||
NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com
|
NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com
|
||||||
NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
|
NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com
|
||||||
NEXT_PUBLIC_CUT_URL = https://smartcut.huiying.video
|
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
|
NEXT_PUBLIC_ERROR_CONFIG = 0.1
|
||||||
@ -115,8 +115,7 @@ export class VideoExportService {
|
|||||||
this.config = {
|
this.config = {
|
||||||
maxRetries: config.maxRetries || 3,
|
maxRetries: config.maxRetries || 3,
|
||||||
pollInterval: config.pollInterval || 5000, // 5秒轮询
|
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'
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user