Skip to content

Commit

Permalink
Merge pull request #3 from FirstWhack/FirstWhack-patch-2
Browse files Browse the repository at this point in the history
Allow all hosts to devserver
  • Loading branch information
FirstWhack authored Jun 3, 2024
2 parents 3add07c + 5f828e3 commit 1277662
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/app1/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ module.exports = {
devtool: "source-map",
devServer: {
contentBase: path.join(__dirname, "dist"),
port: 1337
port: 1337,
allowedHosts: 'all'
},
output: {
publicPath: "auto",
Expand Down
3 changes: 2 additions & 1 deletion packages/app2/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = {
devtool: "source-map",
devServer: {
contentBase: path.join(__dirname, "dist"),
port: 1338
port: 1338,
allowedHosts: 'all'
},
output: {
publicPath: "auto",
Expand Down
3 changes: 2 additions & 1 deletion packages/store/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module.exports = {
devtool: "source-map",
devServer: {
contentBase: path.join(__dirname, "dist"),
port: 1339
port: 1339,
allowedHosts: 'all'
},
output: {
publicPath: "auto",
Expand Down

0 comments on commit 1277662

Please sign in to comment.