From 89a70622a6e48ac71b94369e6e0056270ebf46d2 Mon Sep 17 00:00:00 2001 From: arcvats Date: Wed, 19 Aug 2020 19:22:43 -0400 Subject: [PATCH] chore(v2): add https support in webpack devserver --- packages/docusaurus/src/commands/start.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docusaurus/src/commands/start.ts b/packages/docusaurus/src/commands/start.ts index bf69cc39b60a..0a65982dbb59 100644 --- a/packages/docusaurus/src/commands/start.ts +++ b/packages/docusaurus/src/commands/start.ts @@ -142,6 +142,7 @@ export default async function start( // `webpackHotDevClient`. injectClient: false, quiet: true, + https: protocol === 'https', headers: { 'access-control-allow-origin': '*', },