Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-07-07 21:00:31 +0300
committerMike Greiling <mike@pixelcog.com>2017-08-07 19:08:58 +0300
commit83bea6e9b80a5cd0817be12b9a0ac329033904df (patch)
treee7221b69425c05ac136a00f1d220da38517023c8 /config
parent937bbac91126fb4221624eb1409534ddc03e3152 (diff)
add disableHostCheck to devServer config since webpack dev server is proxied
Diffstat (limited to 'config')
-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,