forked from Gitlink/forgeplus-react
修改打包文件和调用路径
This commit is contained in:
parent
8a72ace09d
commit
9568a60915
File diff suppressed because it is too large
Load Diff
|
@ -25,14 +25,15 @@ if (isDev) {
|
|||
}
|
||||
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
|
||||
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
|
||||
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
|
||||
window.location.search.indexOf('debug=a') !== -1 ? 'a' : parsed.debug || 'a'
|
||||
}
|
||||
window._debugType = debugType;
|
||||
export function initAxiosInterceptors(props) {
|
||||
// 判断网络是否连接
|
||||
initOnlineOfflineListener();
|
||||
|
||||
var proxy = "http://192.168.1.40:3000";
|
||||
// var proxy = "http://192.168.1.40:3000";
|
||||
var proxy = "http://117.50.100.12:49999";
|
||||
//响应前的设置
|
||||
axios.interceptors.request.use(
|
||||
config => {
|
||||
|
|
Loading…
Reference in New Issue