From 20459fe59f680031bfc7c1012be860e0727cb016 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 05 八月 2025 17:47:09 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdmin

---
 vite.config.ts |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/vite.config.ts b/vite.config.ts
index 205656b..a3c29ca 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -56,7 +56,9 @@
     // 鏈嶅姟绔覆鏌�
     server: {
       // 鏄惁寮�鍚� https
-      // https: false,
+      // https: {
+
+      // },
       // 绔彛鍙�
       port: VITE_PORT,
       host: '0.0.0.0',
@@ -72,7 +74,7 @@
                 // ws: true,
                 changeOrigin: true,
                 rewrite: (path: string) => {
-                  console.log('path: ', path);
+                  console.log('path: ', path, path.replace(/^\/api/, ''));
                   return path.replace(/^\/api/, '');
                 },
               },

--
Gitblit v1.9.1