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 = {
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,
description: pkg.description,
homepage: pkg.homepage,