about summary refs log tree commit diff
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2017-05-05 00:49:05 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-04 17:49:05 +0200
commit91ddd345f2df09089403ca078a4a5987d43ea88b (patch)
tree20f9d86c2c183fca4521af63295218e66bc6318e
parent75bd141e22aebb4a8fa94d96f926dff9f7e319cc (diff)
Enable disableHostCheck option of webpack-dev-server (#2790)
-rw-r--r--config/webpack/development.server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack/development.server.js b/config/webpack/development.server.js
index 5c5631a4e..455daad2c 100644
--- a/config/webpack/development.server.js
+++ b/config/webpack/development.server.js
@@ -13,6 +13,7 @@ module.exports = merge(devConfig, {
     compress: true,
     historyApiFallback: true,
     contentBase: resolve(paths.output, paths.entry),
-    publicPath
+    publicPath,
+    disableHostCheck: true
   }
 })