qirong
2023-12-07 5c48422b1117f6b466bc288b7ac5ace7d3f24516
vite.config.ts
@@ -26,9 +26,9 @@
      open: true,
      proxy: {
        [env.VITE_APP_BASE_API]: {
          target: 'http://172.35.50.34:8080',
          // target: 'http://80.36.32.175:8080',
          // target: 'http://192.168.3.228:8080',
          // target: 'http://80.36.32.176:8080',
          // target: 'http://51.9.57.211:8080',
          target: 'http://192.168.3.43:8080',
          changeOrigin: true,
          rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
        }