This commit is contained in:
lcw
2026-01-15 12:16:53 +08:00
parent bf02efe72e
commit e45b864be3
11 changed files with 64 additions and 42 deletions

View File

@ -6,8 +6,9 @@ function resolve(dir) {
// const serverHost = "http://192.168.1.98:8006";//毛毛
// const serverHost = "http://192.168.1.32:8066";//波哥
// const serverHost = "http://192.168.0.231:8006"//线上
const serverHost = "http://47.108.232.77:9537";//波哥
// const serverHost = "http://47.108.232.77:9537";//波哥
// const serverHost = "http://127.0.0.1:8006"
const serverHost = 'https://lam.clcud.com:1443';
module.exports = {
publicPath: "./",
outputDir: "ab",
@ -39,7 +40,7 @@ module.exports = {
proxyReq.setHeader("Connection", "Keep-Alive"); //设置长连接
}
},
'/mosty-base': {
'/bagl/mosty-base': {
target: serverHost, // 后端服务器地址
changeOrigin: true, // 允许跨域
secure: false, // 如果是https需要设置为false