diff --git a/packages/fes-builder-vite/src/commands/dev/getDevConfig.js b/packages/fes-builder-vite/src/commands/dev/getDevConfig.js index dca278238..1a79c1a5b 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',