This commit is contained in:
qianhao.xu
2024-03-28 11:21:11 +08:00
parent 8c99ddd0ae
commit 17c8b8810b

View File

@@ -40,7 +40,7 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: 'http://192.168.90.92:8888', // 后端接口地址 target: 'http://localhost:8888', // 后端接口地址
// target: 'http://192.168.0.31:8888/', // 后端接口地址 // target: 'http://192.168.0.31:8888/', // 后端接口地址
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
@@ -49,7 +49,7 @@ module.exports = {
}, },
msgHub: { msgHub: {
target: 'http://192.168.90.92:8888/msgHub', target: 'http://localhost:8888/msgHub',
// target: 'http://192.168.0.31:8888/msgHub', // target: 'http://192.168.0.31:8888/msgHub',
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,