Browse Source

修改地址

fix_bug_pro20231227
pref_mail@163.com 1 year ago
parent
commit
277e2301f9
  1. 18
      vite.config.js

18
vite.config.js

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

Loading…
Cancel
Save