removed redundant port from env
This commit is contained in:
parent
e2736d1c10
commit
822d9100db
|
@ -1,4 +1,3 @@
|
||||||
require('dotenv').config();
|
|
||||||
const express = require('express');
|
const express = require('express');
|
||||||
|
|
||||||
// Invoke express app
|
// Invoke express app
|
||||||
|
@ -14,6 +13,6 @@ app.use(Loggerware);
|
||||||
app.use(APIRoutes);
|
app.use(APIRoutes);
|
||||||
|
|
||||||
// Listen on port set in .env
|
// Listen on port set in .env
|
||||||
app.listen(process.env.PORT, () => {
|
app.listen(5000, () => {
|
||||||
console.log('Server is listening on port ' + process.env.PORT);
|
console.log('Server is listening on port 5000');
|
||||||
});
|
});
|
Loading…
Reference in New Issue