幻雨堂
2024-02-27 9e68d44b460ed5897ded1ee3c07e0840c6c24160
vite.config.ts
@@ -26,7 +26,8 @@
      open: true,
      proxy: {
        [env.VITE_APP_BASE_API]: {
          target: 'http://192.168.3.228:8080',
          // target: 'http://192.168.3.228:8080',
          target: 'http://localhost:8080',
          changeOrigin: true,
          rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
        }