We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52ccf99 + 67fd622 commit 3b2f242Copy full SHA for 3b2f242
webpack.config.js
@@ -45,7 +45,7 @@ module.exports = function makeWebpackConfig() {
45
46
// Output path from the view of the page
47
// Uses webpack-dev-server in development
48
- publicPath: isProd ? '/' : 'http://localhost:8080/',
+ publicPath: isProd ? '/' : 'http://0.0.0.0:8080/',
49
50
// Filename for entry points
51
// Only adds hash in build mode
@@ -217,7 +217,8 @@ module.exports = function makeWebpackConfig() {
217
*/
218
config.devServer = {
219
contentBase: './src/public',
220
- stats: 'minimal'
+ stats: 'minimal',
221
+ host: '0.0.0.0'
222
};
223
224
return config;
0 commit comments