Skip to content

Commit

Permalink
fix(v2): add https support in webpack devserver (#3311)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcvats authored Aug 28, 2020
1 parent aa9212c commit a999928
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 a999928

Please sign in to comment.