Skip to content

Commit

Permalink
chore(v2): add https support in webpack devserver
Browse files Browse the repository at this point in the history
  • Loading branch information
arcvats committed Aug 19, 2020
1 parent f4ca61b commit 89a7062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export default async function start(
// `webpackHotDevClient`.
injectClient: false,
quiet: true,
https: protocol === 'https',
headers: {
'access-control-allow-origin': '*',
},
Expand Down

0 comments on commit 89a7062

Please sign in to comment.