fix custom port 🐛

This commit is contained in:
Jannis R 2018-10-25 22:56:45 +02:00
parent 1e4de0a3ff
commit 3653953718
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -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,