From bfbb1ea3c6bb2dd7db064fb189290a1bfcf6c9cd Mon Sep 17 00:00:00 2001
From: seatonwan9
Date: 星期四, 28 八月 2025 02:14:48 +0800
Subject: [PATCH] 提交源码

---
 vite.config.ts |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/vite.config.ts b/vite.config.ts
index e83364b..a303c4e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -17,6 +17,11 @@
 const viteConfig = ({ mode }: ConfigEnv): UserConfig => {
   let proxy: Record<string, string | ProxyOptions> = {}
   proxy = {
+    '/api/test': {
+      target: 'http://36.133.126.111:7099',
+      changeOrigin: true,
+      rewrite: (path) => path.replace(/^\/api\/test/, '/api'),
+    },
     '/api': {
       // target: 'http://192.168.0.38:8088', // 鏉�
       // target: 'http://10.88.211.191:8088', // 鏉�

--
Gitblit v1.8.0