This commit is contained in:
Jane 2023-12-28 11:12:57 +08:00
parent 46259b98cc
commit b635578cbe

View File

@ -29,7 +29,7 @@ module.exports = {
},
proxy: {
'/api': {
target: 'http://127.0.0.1:9538',
target: process.env.VUE_APP_BASE_API,
ws:true,
changeOrigin: true,
pathRewrite: {
@ -37,14 +37,14 @@ module.exports = {
}
},
'/system': {
target: 'http://127.0.0.1:9538',
target: process.env.VUE_APP_BASE_API,
changeOrigin: true,
pathRewrite: {
'^/system': 'system'
}
},
'/data': {
target: 'http://127.0.0.1:9538',
target: process.env.VUE_APP_BASE_API,
changeOrigin: true,
pathRewrite: {
'^/data': 'data'