网络请求双斜杠处理
This commit is contained in:
parent
25f2d28925
commit
542bdb8b5d
|
|
@ -45,6 +45,7 @@ http.adornUrl = (actionName) => {
|
|||
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
||||
// return 'http://192.168.0.132:8184/sqx_fast/' + actionName
|
||||
// return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName
|
||||
actionName = actionName.replace(/^\//, "");
|
||||
return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
||||
|
||||
}
|
||||
|
|
@ -53,6 +54,7 @@ http.adornUrlUp = (actionName) => {
|
|||
// return (process.env.NODE_ENV !== 'production' && process.env.OPEN_PROXY ? '/proxyApi/' : window.SITE_CONFIG.baseUrl) + actionName
|
||||
// return 'http://192.168.0.132:8183/sqx_fast/' + actionName
|
||||
// return 'https://duanjudl.xianmxkj.co/sqx_fast/' + actionName
|
||||
actionName = actionName.replace(/^\//, "");
|
||||
return 'https://video.hnsiyao.cn/sqx_fast/' + actionName
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue