sunjian 4 months ago
parent
commit
c1d72faf00
1 changed files with 6 additions and 4 deletions
  1. 6 4
      manifest.json

+ 6 - 4
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "canteenproblemFeedback",
-    "appid" : "__UNI__9C10680",
+    "appid" : "__UNI__5ABF99B",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",
@@ -71,15 +71,16 @@
     "vueVersion" : "3",
     "h5" : {
         "devServer" : {
-            "port" : 8080,
             "https" : false,
             "disableHostCheck" : true,
+            "port" : 9002,
             "proxy" : {
                 "/api" : {
                     //api是需要转发的请求(所有带有 /api 前缀的请求都会转发给 target 后的地址 (代理2)
                     "target" : "http://10.201.2.161:9400/centtenAdvise", // 你的目标接口域名
                     "changeOrigin" : true, // 开启代理
-                    "secure" : true, //
+                    "secure" : false,
+                    "ws" : false,
                     "pathRewrite" : {
                         //去除请求前缀,保证交给后台服务器的是正常请求地址(必须配置)
                         "^/api" : ""
@@ -88,7 +89,8 @@
             }
         },
         "router" : {
-            "base" : "canteenAdvise"
+            "base" : "./",
+            "mode" : "history"
         }
     },
     "locale" : "zh-Hans",