Merge pull request #1 from Darkangeel-hd/patch-1

Add correct port to starting log
master
Carlos Burelo 4 years ago committed by GitHub
commit 3b9c6b09ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,7 @@
import app from './app.js';
const port = process.env.PORT || 5000;
app.listen(process.env.PORT || 5000, () => {
app.listen(port, () => {
console.clear();
console.info(`API Running on: 5000 ============================`);
console.info(`API Running on: ${port} ============================`);
});

Loading…
Cancel
Save