Skip to content

Commit

Permalink
fix: Disable host checks in webpack to allow connecting externally in…
Browse files Browse the repository at this point in the history
… dev
  • Loading branch information
nervetattoo committed Jan 29, 2020
1 parent 7fdac42 commit 3f11ae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/webpack.dev.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
hot: true,
contentBase: false, // since we use CopyWebpackPlugin.
compress: true,
disableHostCheck: true,
host: HOST || config.dev.host,
port: PORT || config.dev.port,
open: config.dev.autoOpenBrowser,
Expand Down

0 comments on commit 3f11ae2

Please sign in to comment.