fix(v2): add https support in webpack devserver (#3311)

This commit is contained in:
Archit 2020-08-28 12:05:18 -04:00 committed by GitHub
parent aa9212cb45
commit a999928ad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,6 +142,7 @@ export default async function start(
// `webpackHotDevClient`.
injectClient: false,
quiet: true,
https: protocol === 'https',
headers: {
'access-control-allow-origin': '*',
},