H5/manifest.json
@@ -1,5 +1,5 @@ { "name" : "sms_sender", "name" : "暗号情书", "appid" : "__UNI__9FB7B6E", "description" : "", "versionName" : "1.0.0", @@ -83,10 +83,16 @@ //配置代理服务器来解决跨域问题,uniapp不适用CORS方案和设置JSONP方案 "/smsapi/" : { //映射域名 "target" : "http://localhost:24147", //测试环境 "target" : "http://124.70.216.149:8083", //测试环境 "changeOrigin" : true, //是否跨域 "secure" : true // 是否支持 https 协议的代理 } }, "/api/" : { //映射域名 "target" : "http://localhost:24147", //测试环境 "changeOrigin" : true, //是否跨域 "secure" : true // 是否支持 https 协议的代理 } } } }