From fb44a9cf650889f097701ebf27a8032f3f0fcc20 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 2 Mar 2018 15:43:02 +0300 Subject: listen on internal-ip --- vnext/webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vnext/webpack.config.js') 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 -- cgit v1.2.3