make webui listen on 0.0.0.0 (#587)

This commit is contained in:
Björn 2020-09-26 15:13:46 +02:00 committed by GitHub
parent 5a7e5150a5
commit e2d682d142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -101,9 +101,9 @@ co(function* () {
server.use(morgan('tiny'));
}
server.listen(3000, err => {
server.listen(3000, "0.0.0.0", err => {
if (err) throw err;
console.log('> Ready on http://localhost:3000');
console.log('> Ready on http://0.0.0.0:3000');
});
})
.catch(error => console.error(error.stack));