diff --git a/vue.config.js b/vue.config.js index b0f006b..115bf01 100755 --- a/vue.config.js +++ b/vue.config.js @@ -32,6 +32,8 @@ module.exports = { devServer: { port: port, open: true, + public: require('os').networkInterfaces()[Object.keys(require('os').networkInterfaces())[0]][1].address + ':8080', + disableHostCheck: true, overlay: { warnings: false, errors: true