diff options
author | Vitaly Takmazov | 2018-03-02 15:43:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | fb44a9cf650889f097701ebf27a8032f3f0fcc20 (patch) | |
tree | 023c17ed83cef36a9711d45381c88ff77cc37845 /vnext/webpack.config.js | |
parent | d74e1a6b254409aa3b5b6d1bd1ed81de9cccf521 (diff) |
listen on internal-ip
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 |