瀏覽代碼

no message

linwenxin 1 年之前
父節點
當前提交
ef9071c938
共有 3 個文件被更改,包括 6 次插入6 次删除
  1. 2 2
      .env.production
  2. 2 2
      .env.test
  3. 2 2
      src/manifest.json

+ 2 - 2
.env.production

@@ -8,6 +8,6 @@ VUE_APP_BASE_URL = 'https://jiasm.zfire.top'
 VUE_APP_BASE_API = '/recycleapi'
 
 # PATH
-VUE_APP_BASE_PATH = '/recycleh5/'
+VUE_APP_BASE_PATH = '/'
 
-VUE_APP_HREF = 'https://jiasmh5.zfire.top/recycleh5'
+VUE_APP_HREF = 'https://jiasmh5.zfire.top'

+ 2 - 2
.env.test

@@ -8,6 +8,6 @@ VUE_APP_BASE_URL = 'https://jiasm.zfire.top'
 VUE_APP_BASE_API = '/recycleapi'
 
 # PATH
-VUE_APP_BASE_PATH = '/recycleh5/'
+VUE_APP_BASE_PATH = '/'
 
-VUE_APP_HREF = 'https://jiasmh5.zfire.top/recycleh5'
+VUE_APP_HREF = 'https://jiasmh5.zfire.top'

+ 2 - 2
src/manifest.json

@@ -13,7 +13,7 @@
   },
   "h5": {
     "title": "",
-    "publicPath": "/recycleh5/",
+    "publicPath": "/",
     "devServer": {
       "https": false,
       "port": 3000,
@@ -31,7 +31,7 @@
     },
     "router": {
       "mode": "history",
-      "base": "/recycleh5/"
+      "base": "/"
     },
     "optimization": {
       "prefetch": true,