zhengyiming
7 天以前 19fb7e7af8464bc88088d8bbc80c481752827994
vite.config.ts
@@ -72,7 +72,7 @@
                // ws: true,
                changeOrigin: true,
                rewrite: (path: string) => {
                  console.log('path: ', path);
                  console.log('path: ', path, path.replace(/^\/api/, ''));
                  return path.replace(/^\/api/, '');
                },
              },