Skip to content

Commit 8f9ab87

Browse files
committed
fix potential issue in Windows
1 parent 365974c commit 8f9ab87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"homepage": "https://avgjs.org/",
1010
"scripts": {
11-
"dev": "webpack-dev-server --config webpack.dev.config.js --progress --colors --devtool source-map --host 0.0.0.0 --inline --hot --open",
11+
"dev": "webpack-dev-server --config webpack.dev.config.js --progress --colors --devtool source-map --host 127.0.0.1 --inline --hot --open",
1212
"dist": "webpack -p --config webpack.config.js --progress --colors"
1313
},
1414
"license": "Apache-2.0",

webpack.dev.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = {
4141
{ from: /^\/libs\/avg\.min.js$/, to: '/node_modules/avg-core/dist/avg.js' },
4242
]
4343
},
44-
host: '0.0.0.0',
44+
host: '127.0.0.1',
4545
port: 6600,
4646
hot: true,
4747
// inline: true,

0 commit comments

Comments
 (0)