Bläddra i källkod

修改路由模式/修改https

zaijin 3 år sedan
förälder
incheckning
09defebfaf
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      common/config.js
  2. 1 1
      manifest.json
  3. 1 1
      package.json

+ 1 - 1
common/config.js

@@ -1,5 +1,5 @@
 const node_dev = process.env.H_NODE_ENV
-let baseUrl = 'http://wx.hw.hongweisoft.com/parking'
+let baseUrl = 'https://wx.hw.hongweisoft.com/parking'
 if (node_dev) {
 	baseUrl = process.env.H_BASE_URL
 }

+ 1 - 1
manifest.json

@@ -96,7 +96,7 @@
     "h5" : {
         "template" : "template.h5.html",
         "router" : {
-            "mode" : "hash",
+            "mode" : "history",
             "base" : ""
         },
         "sdkConfigs" : {

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
 				"env": {
 					"UNI_PLATFORM": "h5",
 					"H_NODE_ENV": "development",
-					"H_BASE_URL": "http://wx.hw.hongweisoft.com/parking",
+					"H_BASE_URL": "https://wx.hw.hongweisoft.com/parking",
 					"DESCRIBE": "测试环境"
 				}
 			},