fix custom port 🐛
This commit is contained in:
parent
1e4de0a3ff
commit
3653953718
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -17,7 +17,7 @@ const healthCheck = () => {
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
hostname: process.env.HOSTNAME || '2.db.transport.rest',
|
hostname: process.env.HOSTNAME || '2.db.transport.rest',
|
||||||
port: process.env.PORT || 3000,
|
port: process.env.PORT ? parseInt(process.env.PORT) : 3000,
|
||||||
name: pkg.name,
|
name: pkg.name,
|
||||||
description: pkg.description,
|
description: pkg.description,
|
||||||
homepage: pkg.homepage,
|
homepage: pkg.homepage,
|
||||||
|
|
Loading…
Reference in a new issue