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