mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 11:26:47 +08:00
提交修改的配置
This commit is contained in:
@@ -4,7 +4,7 @@ let oldApiBaseUrl ='/uboeApi';
|
|||||||
let statApiBaseUrl='/statApi';
|
let statApiBaseUrl='/statApi';
|
||||||
let socialApiBaseUrl='/socialApi';
|
let socialApiBaseUrl='/socialApi';
|
||||||
let loginPath='/pages/login/login';
|
let loginPath='/pages/login/login';
|
||||||
let context='/mobile';
|
let context='/mobile-release';
|
||||||
let tokenName='';
|
let tokenName='';
|
||||||
let appId=''
|
let appId=''
|
||||||
let fileUrl='';
|
let fileUrl='';
|
||||||
@@ -40,8 +40,8 @@ if(process.env.NODE_ENV === 'development'){
|
|||||||
oldApiBaseUrl = '/uboeApi';
|
oldApiBaseUrl = '/uboeApi';
|
||||||
statApiBaseUrl='/statApi';
|
statApiBaseUrl='/statApi';
|
||||||
socialApiBaseUrl='/socialApi';
|
socialApiBaseUrl='/socialApi';
|
||||||
fileUrl = 'https://u-pre.boe.com/upload';
|
fileUrl = 'https://u.boe.com/upload';
|
||||||
loginPath='https://u-pre.boe.com/m/loginuser';
|
loginPath='https://u.boe.com/m/loginuser';
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
"devServer" : {
|
"devServer" : {
|
||||||
"https" : false,
|
"https" : false,
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
"/systemapi" : {
|
"/systemapi" : {
|
||||||
"target" : "http://192.168.0.11:9090",
|
"target" : "http://192.168.0.11:9090",
|
||||||
"changeOrigin" : true,
|
"changeOrigin" : true,
|
||||||
"secure" : false,
|
"secure" : false,
|
||||||
@@ -89,26 +89,26 @@
|
|||||||
"^/uboeApi" : "/api"
|
"^/uboeApi" : "/api"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/statApi" : {
|
"/statApi" : {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
"target" : "http://192.168.0.11:9080",
|
"target" : "http://192.168.0.11:9080",
|
||||||
"changeOrigin" : true,
|
"changeOrigin" : true,
|
||||||
"logLevel" :"debug",
|
"logLevel" : "debug",
|
||||||
"secure" : false,
|
"secure" : false,
|
||||||
"pathRewrite" : {
|
"pathRewrite" : {
|
||||||
"^/statApi": ""
|
"^/statApi" : ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/socialApi": {
|
"/socialApi" : {
|
||||||
// 目标代理服务器地址
|
// 目标代理服务器地址
|
||||||
"target": "http://192.168.0.11:9081",
|
"target" : "http://192.168.0.11:9081",
|
||||||
"changeOrigin": true,
|
"changeOrigin" : true,
|
||||||
"logLevel":"debug",
|
"logLevel" : "debug",
|
||||||
"secure": false,
|
"secure" : false,
|
||||||
"pathRewrite": {
|
"pathRewrite" : {
|
||||||
"^/socialApi": ""
|
"^/socialApi" : ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"optimization" : {
|
"optimization" : {
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
},
|
},
|
||||||
"router" : {
|
"router" : {
|
||||||
"mode" : "history",
|
"mode" : "history",
|
||||||
"base" : "/mobile"
|
"base" : "/mobile-release"
|
||||||
},
|
},
|
||||||
"template" : "index.html",
|
"template" : "index.html",
|
||||||
"title" : "京东方大学堂"
|
"title" : "京东方大学堂"
|
||||||
|
|||||||
Reference in New Issue
Block a user