Run local dev server on https

Makes testing of e.g. audio recording possible, since Chrome won't record audio while on http pages.
This commit is contained in:
N-Pex 2021-03-24 10:47:07 +01:00
parent b8aeb02b50
commit 20fcc29fbc

View file

@ -6,4 +6,8 @@ module.exports = {
publicPath: process.env.NODE_ENV === 'production'
? './'
: './',
devServer: {
https: true
},
}