]> cat aescling's git repositories - mastodon.git/commitdiff
Enable disableHostCheck option of webpack-dev-server (#2790)
authorabcang <abcang1015@gmail.com>
Thu, 4 May 2017 15:49:05 +0000 (00:49 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 4 May 2017 15:49:05 +0000 (17:49 +0200)
config/webpack/development.server.js

index 5c5631a4ea7190c75904ccf396c524a2e170eed0..455daad2c7374c119f4621a60fa75769d54cb233 100644 (file)
@@ -13,6 +13,7 @@ module.exports = merge(devConfig, {
     compress: true,
     historyApiFallback: true,
     contentBase: resolve(paths.output, paths.entry),
-    publicPath
+    publicPath,
+    disableHostCheck: true
   }
 })