Sessions 5-7a: 955 tests, deployment ready
This commit is contained in:
+5
-2
@@ -1,7 +1,10 @@
|
||||
const app = require('./app');
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
// Default 3001 — Next.js owns 3000 locally and in production. The poller,
|
||||
// internal cron, and BASE_URL conventions all assume 3001 for the Express
|
||||
// backend. PORT env still overrides for special-case deploys.
|
||||
const PORT = process.env.PORT || 3001;
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`[BetonBLK] Server running on port ${PORT}`);
|
||||
console.log(`[VYNDR] Server running on port ${PORT}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user