Browse Source

Update vite.config.ts

lex-xin 6 months ago
parent
commit
5ed769582b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      vite.config.ts

+ 4 - 0
vite.config.ts

@@ -37,6 +37,10 @@ export default defineConfig({
         target: proxyUrl,
         changeOrigin: true,
       },
+      "/api-admin": {
+        target: proxyUrl,
+        changeOrigin: true,
+      },
     },
   },
 });