use port 3005 if no port is defined

This commit is contained in:
NotAShelf 2022-01-24 18:39:57 +03:00
parent 9718546526
commit 53c8203f82
No known key found for this signature in database
GPG key ID: 2E4615E792DA9BAA

View file

@ -8,7 +8,7 @@ const port = process.env.PORT;
const customurl = process.env.CUSTOMURL;
app.listen(port, () => {
console.log('App listening at http://localhost:' + port);
console.log('App listening at http://localhost:' + port || 3005);
console.log('Godspeed, little fella!');
});