From fb5caa61bcd08be319b60e17ed5f019667058c75 Mon Sep 17 00:00:00 2001 From: harrywan Date: Tue, 12 Nov 2024 11:14:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dvite=E9=85=8D=E7=BD=AE?= =?UTF-8?q?https=E6=97=A0=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fes-builder-vite/src/commands/dev/getDevConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fes-builder-vite/src/commands/dev/getDevConfig.js b/packages/fes-builder-vite/src/commands/dev/getDevConfig.js index dca27823..1a79c1a5 100644 --- a/packages/fes-builder-vite/src/commands/dev/getDevConfig.js +++ b/packages/fes-builder-vite/src/commands/dev/getDevConfig.js @@ -25,7 +25,7 @@ export default async (api, args) => { args: {}, }); - const isHTTPS = !!(process.env.HTTPS || args.https); + const isHTTPS = !!(process.env.HTTPS || args.https || api.config.viteOption.server?.https); const bundleConfig = deepmerge(getInnerCommonConfig(api), { mode: 'development',