summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-07-07 13:00:31 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-07 11:08:58 -0500
commit83bea6e9b80a5cd0817be12b9a0ac329033904df (patch)
treee7221b69425c05ac136a00f1d220da38517023c8 /config/webpack.config.js
parent937bbac91126fb4221624eb1409534ddc03e3152 (diff)
downloadgitlab-ce-83bea6e9b80a5cd0817be12b9a0ac329033904df.tar.gz
add disableHostCheck to devServer config since webpack dev server is proxied
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js1
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,