From: abcang Date: Thu, 4 May 2017 15:49:05 +0000 (+0900) Subject: Enable disableHostCheck option of webpack-dev-server (#2790) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=91ddd345f2df09089403ca078a4a5987d43ea88b;p=mastodon.git Enable disableHostCheck option of webpack-dev-server (#2790) --- 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 } })