Disable Host header check in development

This commit is contained in:
Michael Jackson 2018-04-04 12:03:42 -07:00
parent fac3f4c5be
commit 2568de0467
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ function createDevServer(publicDir, webpackConfig, devOrigin) {
// webpack-dev-server options
contentBase: false,
disableHostCheck: true,
before(app) {
// This runs before webpack-dev-middleware
app.disable("x-powered-by");