提交修改的配置

This commit is contained in:
daihh
2022-12-05 11:11:48 +08:00
parent 37b7726a35
commit bfc08d42a8
2 changed files with 25 additions and 25 deletions

View File

@@ -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 {

View File

@@ -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" : "京东方大学堂"