From 281bddcd40e0561301eb04fa44ed7c8b551d34e5 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 7 Mar 2023 19:57:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20optimize=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=88=97=E8=A1=A8=EF=BC=8C=E9=81=BF=E5=85=8D=20reload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index d1ad957f..6b54e183 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,6 +25,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { root: root, // 服务端渲染 server: { + // 是否开启 https + https: false, // 端口号 port: env.VITE_PORT, host: "0.0.0.0",