diff options
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 9eb1d7fa..ce4995eb 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -1,5 +1,6 @@ const history = require('connect-history-api-fallback'); const convert = require('koa-connect'); +const internalIp = require('internal-ip'); module.exports = { entry: { @@ -23,6 +24,7 @@ module.exports = { module.exports.serve = { content: [__dirname], + host: internalIp.v4.sync(), add: (app, middleware, options) => { const historyOptions = { // ... see: https://github.com/bripkens/connect-history-api-fallback#options |