From 6ed0045e0f379dbd7fdd065a65f8898c482a7cab Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Thu, 22 Jan 2026 15:36:49 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 uniapps/work-app/build/config/proxy.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/uniapps/work-app/build/config/proxy.js b/uniapps/work-app/build/config/proxy.js
index 68c2c42..8633721 100644
--- a/uniapps/work-app/build/config/proxy.js
+++ b/uniapps/work-app/build/config/proxy.js
@@ -20,6 +20,11 @@
       changeOrigin: true,
       rewrite: path => path.replace(new RegExp(`^${VITE_API_PREFIX}`), ''),
     },
+    [VITE_API_PREFIX_GD]: {
+      target: configEnv?.[envName || VITE_APP_ENV]?.VITE_API_BASE_URL_GD,
+      changeOrigin: true,
+      rewrite: path => path.replace(new RegExp(`^${VITE_API_PREFIX_GD}`), ''),
+    },
   }
   return proxy
 }

--
Gitblit v1.9.3