From 2e108e648a0ff5558715e7ee5539e125d66ea00e Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Tue, 25 Mar 2025 17:26:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=89=93=E5=8C=85):=20=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E6=89=93=E5=8C=85=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/manifest.json b/manifest.json index acaa27f..3925b83 100644 --- a/manifest.json +++ b/manifest.json @@ -121,15 +121,14 @@ }, "h5" : { "devServer" : { - "https" : false, + "https" : true, "port" : 8055 }, - "disableHostCheck" : true, // 禁用 Host 检查 打包时改成false + "disableHostCheck" : false, // 禁用 Host 检查 打包时改成false "router" : { - "mode" : "hash" + "mode" : "hash", + "base" : "/app/" }, - "base" : "", - // "base" : "/app/", "optimization" : { "treeShaking" : { "enable" : true @@ -137,7 +136,4 @@ } } } -// "port" : 8055 -// "disableHostCheck" : true, // 禁用 Host 检查 打包时改成false -// "base" : "/app/"