From d780f4b5636dbc6b96a5ca315aab390f1825c2aa Mon Sep 17 00:00:00 2001
From: whychdw <496960745@qq.com>
Date: 星期二, 26 十一月 2024 15:52:20 +0800
Subject: [PATCH] 调整内容

---
 vite.config.ts |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/vite.config.ts b/vite.config.ts
index ef69852..3001da0 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -69,17 +69,7 @@
     ],
     server: {
       host: 'localhost',
-      port: 8001,
-      proxy: {
-        '/api-test': {
-          target: 'https://api.midfar.com/dspt_test/api',
-          changeOrigin: true,
-          rewrite: (path) => path.replace(/^\/api-test/, ''),
-          headers: {
-            Cookie: env.VUE_APP_COOKIE
-          }
-        }
-      }
+      port: 8001
     }
   };
 });

--
Gitblit v1.9.1