wujingjing
2025-02-10 e792d4d46e406da8d0a4ae8ad97db34a95f1c66a
vite.config.ts
@@ -59,6 +59,12 @@
         port: env.VITE_PORT as unknown as number,
         open: JSON.parse(env.VITE_OPEN),
         hmr: false,
         proxy: {
            '/events': {
               target: 'http://localhost:3000',
               changeOrigin: true
            }
         }
      },
      build: {
         // outDir: 'dist/' + mode.mode,