Browse Source

修改地址

master
pref_mail@163.com 1 year ago
parent
commit
bfd6e2a783
  1. 4
      vite.config.js

4
vite.config.js

@ -14,7 +14,6 @@ export default ({ mode, command }) => {
'/api': {
// target: 'http://192.168.10.126:8889',
// hy
target: 'http://192.168.10.48:13000',
// lmy
// target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.101:8888',
@ -23,7 +22,6 @@ export default ({ mode, command }) => {
// 新zyc
// target: 'http://192.168.6.116:8777',
// target: 'http://192.168.6.122:8777',
target: 'http://192.168.10.25:13000',
// target: 'http://192.168.10.57:13000',
// target: 'http://192.168.6.122:8777',
// target: 'http://192.168.6.116:8777',
@ -32,7 +30,7 @@ export default ({ mode, command }) => {
// target: 'http://192.168.10.94:8888',
// target: 'http://192.168.10.29:13000',
// target: 'http://h5uapi.huitongys.com',
// target: 'http://test.api.huitongys.com',
target: 'http://test.api.huitongys.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},

Loading…
Cancel
Save