From 5070e20dea0ed659df20d2610d70ef8115d0cefd Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 28 Jun 2018 13:20:44 +0800 Subject: [PATCH] update docs --- config/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 077c6597..92c4a172 100644 --- a/config/index.js +++ b/config/index.js @@ -13,7 +13,10 @@ module.exports = { proxyTable: {}, // Various Dev Server settings - host: 'localhost', // can be overwritten by process.env.HOST + + // can be overwritten by process.env.HOST + // if you want dev by ip, please set host: '0.0.0.0' + host: 'localhost', port: 9527, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true,