odc.xiaohui
2023-12-07 559068a41399c1e26f2c0d692889388fc8bba73b
vite.config.ts
@@ -26,7 +26,8 @@
      open: true,
      proxy: {
        [env.VITE_APP_BASE_API]: {
          target: 'http://162.14.79.111:8080',
          // target: 'http://80.36.32.176:8080',
          target: 'http://51.9.57.211:8080',
          // target: 'http://192.168.3.228:8080',
          changeOrigin: true,
          rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')