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