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