Refine and cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import app from './app.js';
|
||||
import config from './config/index.js';
|
||||
|
||||
const PORT = config.port || 3001;
|
||||
const PORT = process.env.PORT || 3001;
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Backend running on port ${PORT}`);
|
||||
|
||||
Reference in New Issue
Block a user