Browse Source

1

fix_bug_pro20231227
zhangsiyu 2 years ago
parent
commit
6bb05a0569
  1. 5
      vite.config.js

5
vite.config.js

@ -13,10 +13,11 @@ export default ({ mode, command }) => {
proxy: {
'/api': {
// target: 'http://192.168.10.126:8889',
target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.48:8888',
// target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.75:8777',
// target: 'http://192.168.10.29:13000',
//target: 'http://test3.javablade.com',
target: 'http://test.api.huitongys.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},

Loading…
Cancel
Save