Commit 83bea6e9 authored by Mike Greiling's avatar Mike Greiling

add disableHostCheck to devServer config since webpack dev server is proxied

parent 937bbac9
...@@ -257,6 +257,7 @@ if (IS_DEV_SERVER) { ...@@ -257,6 +257,7 @@ if (IS_DEV_SERVER) {
config.devServer = { config.devServer = {
host: DEV_SERVER_HOST, host: DEV_SERVER_HOST,
port: DEV_SERVER_PORT, port: DEV_SERVER_PORT,
disableHostCheck: true,
headers: { 'Access-Control-Allow-Origin': '*' }, headers: { 'Access-Control-Allow-Origin': '*' },
stats: 'errors-only', stats: 'errors-only',
hot: DEV_SERVER_LIVERELOAD, hot: DEV_SERVER_LIVERELOAD,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment