diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-07-07 13:00:31 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-07 11:08:58 -0500 |
commit | 83bea6e9b80a5cd0817be12b9a0ac329033904df (patch) | |
tree | e7221b69425c05ac136a00f1d220da38517023c8 /config | |
parent | 937bbac91126fb4221624eb1409534ddc03e3152 (diff) | |
download | gitlab-ce-83bea6e9b80a5cd0817be12b9a0ac329033904df.tar.gz |
add disableHostCheck to devServer config since webpack dev server is proxied
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 100fdc31cbb..cad76a5618c 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -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, |