From 2f38d31c7f7a1ee071dfa2226c3936fdd7906c3f Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期五, 28 七月 2023 16:36:32 +0800
Subject: [PATCH] no message

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

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

--
Gitblit v1.9.3