Skip to content

Commit 86b81bf

Browse files
authored
Allow all hosts to devserver
1 parent 3add07c commit 86b81bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/app1/webpack.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ module.exports = {
1414
devtool: "source-map",
1515
devServer: {
1616
contentBase: path.join(__dirname, "dist"),
17-
port: 1337
17+
port: 1337,
18+
allowedHosts: 'all'
1819
},
1920
output: {
2021
publicPath: "auto",

0 commit comments

Comments
 (0)