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,