force exposed prod port to 5000

This commit is contained in:
Julian Krauser 2025-01-06 11:51:33 +01:00
parent ad5f624d5d
commit 8ba12b752c
2 changed files with 6 additions and 5 deletions

View file

@ -23,7 +23,7 @@ const app = express();
import router from "./routes/index";
router(app);
app.listen(process.env.NODE_ENV ? SERVER_PORT : 5000, () => {
console.log(`listening on *:${SERVER_PORT}`);
console.log(`listening on *:${process.env.NODE_ENV ? SERVER_PORT : 5000}`);
});
import schedule from "node-schedule";