diff --git a/vite.config.mjs b/vite.config.mjs index 4fdb079..602faab 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -61,7 +61,10 @@ export default ({ mode, command }) => { port: 2888, proxy: { '/api': { - // target: 'http://192.168.0.115:80',//本地 + + target: 'http://192.168.0.127:80',//外协本地 + // target: 'http://192.168.0.126:80',//举手本地 + // target: 'http://192.168.0.115:80',//工作台消息本地 // target: 'http://192.168.1.5:82', // target: "http://192.168.1.4:82", // target: 'http://49.232.74.228:82', @@ -70,7 +73,7 @@ export default ({ mode, command }) => { // target: 'http://49.232.74.228:82', // target: "http:192.168.0.220:80", // target: 'http:49.232.74.228:49', - target: 'http://49.232.74.228:80', //测试环境的地址 + // target: 'http://49.232.74.228:80', //测试环境的地址 changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },