浏览代码

还原回 https

shizhongqi 2 周之前
父节点
当前提交
fd9abc0130
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      mallApp/src/config.js
  2. 2 2
      mallApp/src/ext.json

+ 1 - 1
mallApp/src/config.js

@@ -1,4 +1,4 @@
 export const ProjectName = 'mall'
 export const CURRENT_ENV = 'dev'
-export const APIHOST = 'http://api.shop.theflorist.cn'
+export const APIHOST = 'https://api.shop.theflorist.cn'
 export const WSSHOST = 'wss://chat.shop.huaml.com'

+ 2 - 2
mallApp/src/ext.json

@@ -4,9 +4,9 @@
   "directCommit": false,
   "ext": {
     "account": 0,
-    "apiHost": "http://api.shop.theflorist.cn",
+    "apiHost": "https://api.shop.theflorist.cn",
     "socketApiHost": "api.shop.theflorist.cn",
-    "imgHost": "http://img.theflorist.cn",
+    "imgHost": "https://img.theflorist.cn",
     "name":"中花卉"
   }
 }