更新
This commit is contained in:
20238
package-lock.json
generated
20238
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -6,8 +6,8 @@ function resolve(dir) {
|
|||||||
// const serverHost = "http://192.168.1.98:8006";//毛毛
|
// const serverHost = "http://192.168.1.98:8006";//毛毛
|
||||||
// const serverHost = "http://192.168.1.32:8066";//波哥
|
// const serverHost = "http://192.168.1.32:8066";//波哥
|
||||||
// const serverHost = "http://192.168.0.231:8006"//线上
|
// const serverHost = "http://192.168.0.231:8006"//线上
|
||||||
const serverHost = "https://lam.clcud.com:1443";//波哥
|
const serverHost = "http://47.108.232.77:9537";//波哥
|
||||||
// const serverHost = "http://127.0.0.1:8006"/bagl/mosty-base/docs.html
|
// const serverHost = "http://127.0.0.1:8006"
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: "./",
|
publicPath: "./",
|
||||||
outputDir: "ab",
|
outputDir: "ab",
|
||||||
@ -39,14 +39,13 @@ module.exports = {
|
|||||||
proxyReq.setHeader("Connection", "Keep-Alive"); //设置长连接
|
proxyReq.setHeader("Connection", "Keep-Alive"); //设置长连接
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// https://lam.clcud.com:1443/bagl/mosty-base/docs.html
|
'/mosty-base': {
|
||||||
'/bagl/mosty-base': {
|
|
||||||
target: serverHost, // 后端服务器地址
|
target: serverHost, // 后端服务器地址
|
||||||
changeOrigin: true, // 允许跨域
|
changeOrigin: true, // 允许跨域
|
||||||
secure: false, // 如果是https,需要设置为false
|
secure: false, // 如果是https,需要设置为false
|
||||||
// pathRewrite: {
|
pathRewrite: {
|
||||||
// '^/bagl/mosty-base': '/mosty-base' // 精确路径重写
|
'^/bagl/mosty-base': '/mosty-base' // 精确路径重写
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
"/data/rec": {
|
"/data/rec": {
|
||||||
target: "http://80.93.24.195:8181",
|
target: "http://80.93.24.195:8181",
|
||||||
|
|||||||
Reference in New Issue
Block a user