diff --git a/config/index.js b/config/index.js index 0f69a58..34e17dc 100644 --- a/config/index.js +++ b/config/index.js @@ -31,7 +31,7 @@ module.exports = { }, // Various Dev Server settings - host: '192.168.1.59', // can be overwritten by process.env.HOST + host: 'localhost', // can be overwritten by process.env.HOST port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/package.json b/package.json index 8162020..0ebeb8b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "daxiong.yang ", "private": true, "scripts": { - "dev": "webpack-dev-server --inline --host 192.168.1.59 --progress --config build/webpack.dev.conf.js", + "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "start": "npm run dev", "unit": "jest --config test/unit/jest.conf.js --coverage", "e2e": "node test/e2e/runner.js",