From 3b0eb357406f61a843823408cc69375b549086e3 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期一, 24 七月 2023 15:54:02 +0800
Subject: [PATCH] no message

---
 h5/apph5/manifest.json |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/h5/apph5/manifest.json b/h5/apph5/manifest.json
index d4cffd2..8a78e14 100644
--- a/h5/apph5/manifest.json
+++ b/h5/apph5/manifest.json
@@ -74,7 +74,15 @@
             "mode" : "history"
         },
         "devServer" : {
-            "https" : false
+            "proxy" : {
+                //閰嶇疆浠g悊鏈嶅姟鍣ㄦ潵瑙e喅璺ㄥ煙闂锛寀niapp涓嶉�傜敤CORS鏂规鍜岃缃甁SONP鏂规
+                "/api/" : {
+                    //鏄犲皠鍩熷悕
+                    "target" : "http://appapitest.ushopvip.com", //娴嬭瘯鐜
+                    "changeOrigin" : true, //鏄惁璺ㄥ煙
+                    "secure" : true // 鏄惁鏀寔 https 鍗忚鐨勪唬鐞�
+                }
+            }
         }
     }
 }

--
Gitblit v1.9.3