removed redundant port from env

This commit is contained in:
Wilkozx 2024-08-04 18:50:39 +01:00
parent e2736d1c10
commit 822d9100db
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
require('dotenv').config();
const express = require('express');
// Invoke express app
@ -14,6 +13,6 @@ app.use(Loggerware);
app.use(APIRoutes);
// Listen on port set in .env
app.listen(process.env.PORT, () => {
console.log('Server is listening on port ' + process.env.PORT);
app.listen(5000, () => {
console.log('Server is listening on port 5000');
});