From 4c42670da13af7059dfda0c456af24fa23a7be96 Mon Sep 17 00:00:00 2001 From: zwq Date: Fri, 1 Jul 2022 10:18:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",