odc.xiaohui
2023-11-22 0f2402a5db8af9a6136a16f44585ff0b215b6c64
vite.config.ts
@@ -26,7 +26,8 @@
      open: true,
      proxy: {
        [env.VITE_APP_BASE_API]: {
          target: 'http://162.14.79.111:8080',
          target: 'http://172.35.50.34:8080',
          // target: 'http://80.36.32.175:8080',
          // target: 'http://192.168.3.228:8080',
          changeOrigin: true,
          rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')