wujingjing
2024-11-04 1c87350c22b9e494c7fa2d43b6e6a067c6259098
vite.config.ts
@@ -36,14 +36,6 @@
         port: env.VITE_PORT as unknown as number,
         open: JSON.parse(env.VITE_OPEN),
         hmr: true,
         proxy: {
            '/gitee': {
               target: 'https://gitee.com',
               ws: true,
               changeOrigin: true,
               rewrite: (path) => path.replace(/^\/gitee/, ''),
            },
         },
      },
      build: {
         // outDir: 'dist/' + mode.mode,