From b58a8de238cd9d691376847f340f081e54ee42bf Mon Sep 17 00:00:00 2001 From: jdecroock Date: Fri, 22 Oct 2021 20:23:59 +0200 Subject: [PATCH] fix(preview): ensure server.host is passed in preview-mode --- packages/vite/src/node/cli.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vite/src/node/cli.ts b/packages/vite/src/node/cli.ts index c990cfa282d90b..1c1b277100f57c 100644 --- a/packages/vite/src/node/cli.ts +++ b/packages/vite/src/node/cli.ts @@ -239,6 +239,7 @@ cli configFile: options.config, logLevel: options.logLevel, server: { + host: options.host, open: options.open, strictPort: options.strictPort, https: options.https