龚焕茏
2024-03-05 1c391db321fae77ddcd297e14fbe1429960ead49
vite.config.ts
@@ -26,7 +26,7 @@
      open: true,
      proxy: {
        [env.VITE_APP_BASE_API]: {
          // target: 'http://192.168.3.228:8080',
          // target: 'http://192.168.3.43:8080',
          target: 'http://localhost:8080',
          changeOrigin: true,
          rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')