Browse Source

Enable disableHostCheck option of webpack-dev-server (#2790)

master
abcang 7 years ago
committed by Eugen Rochko
parent
commit
91ddd345f2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      config/webpack/development.server.js

+ 2
- 1
config/webpack/development.server.js View File

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

Loading…
Cancel
Save