Browse Source

修改地址

fix_bug_pro20231227
pref_mail@163.com 1 year ago
parent
commit
d79121d8aa
  1. 20
      vite.config.js

20
vite.config.js

@ -12,24 +12,8 @@ export default ({ mode, command }) => {
port: 2888, port: 2888,
proxy: { proxy: {
'/api': { '/api': {
// target: 'http://192.168.10.126:8889',
// hy // target: 'http://test.api.huitongys.com',
// target: 'http://192.168.10.48:13000',
// lmy
// target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.101:8888',
// 老zyc
// target: 'http://192.168.10.75:8777',
// 新zyc
// target: 'http://192.168.6.116:8777',
target: 'http://192.168.6.122:8777',
// target: 'http://192.168.6.116:8777',
// tjj
// sst
// target: 'http://192.168.10.94:8888',
// target: 'http://192.168.10.29:13000',
// target: 'http://h5uapi.huitongys.com',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),
}, },

Loading…
Cancel
Save