h5/apph5/manifest.json
@@ -77,6 +77,12 @@ "public" : "0.0.0.0", "proxy" : { //配置代理服务器来解决跨域问题,uniapp不适用CORS方案和设置JSONP方案 "/openwize/" : { //映射域名 "target" : "http://vx8.cc", //测试环境 "changeOrigin" : true, //是否跨域 "secure" : true // 是否支持 https 协议的代理 }, "/api/" : { //映射域名 "target" : "http://dfg.shop.com", //测试环境