Skip to content

Commit 318a258

Browse files
authored
Allow all hosts to devserver
1 parent 86b81bf commit 318a258

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/app2/webpack.config.js

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

0 commit comments

Comments
 (0)