Browse Source

修改地址、

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

4
vite.config.js

@ -28,8 +28,8 @@ export default ({ mode, command }) => {
// sst // sst
// target: 'http://192.168.10.200:13000', // target: 'http://192.168.10.200:13000',
// target: 'http://192.168.10.29:13000', // target: 'http://192.168.10.29:13000',
// target: 'http://h5uapi.huitongys.com', target: 'http://h5uapi.huitongys.com',
target: 'http://test.api.huitongys.com', // target: 'http://test.api.huitongys.com',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),
}, },

Loading…
Cancel
Save