add host arg to app

This commit is contained in:
afrokick 2019-04-11 17:22:24 +03:00
parent 54d08f4ee7
commit db30a334c0

View File

@ -34,6 +34,11 @@ const opts = require('optimist')
demand: false,
description: 'path to SSL certificate'
},
host: {
demand: false,
description: 'ip',
default: '0.0.0.0'
},
port: {
demand: true,
alias: 'p',