Remove hostname option
This commit is contained in:
parent
e50968e0c1
commit
c0719d672e
3
index.js
3
index.js
|
@ -70,8 +70,7 @@ app.get('/', (req, res) => {
|
|||
res.redirect('/login');
|
||||
})
|
||||
const port = process.env.APP_PORT || 8080
|
||||
const host = process.env.APP_HOSTNAME || "0.0.0.0"
|
||||
app.listen(port, host, (err) => {
|
||||
app.listen(port, (err) => {
|
||||
if (err) {
|
||||
global.log.error(`Cannot start server: ${err}`);
|
||||
process.exit(1);
|
||||
|
|
Loading…
Reference in a new issue