add disableHostCheck to devServer config since webpack dev server is proxied

This commit is contained in:
Mike Greiling 2017-07-07 13:00:31 -05:00
parent 937bbac911
commit 83bea6e9b8
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ if (IS_DEV_SERVER) {
config.devServer = {
host: DEV_SERVER_HOST,
port: DEV_SERVER_PORT,
disableHostCheck: true,
headers: { 'Access-Control-Allow-Origin': '*' },
stats: 'errors-only',
hot: DEV_SERVER_LIVERELOAD,