From e7c86ee20a731e84bae822c65f211ec711a7d740 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 14 Jan 2022 14:44:35 +0100 Subject: [PATCH] added consolelog --- backend/server.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/server.js b/backend/server.js index 20cc1aee4..47ba8fc56 100644 --- a/backend/server.js +++ b/backend/server.js @@ -92,13 +92,14 @@ app.get("/test", (req, res) => { const LeaderboardsDAO = require("./dao/leaderboards"); +console.log("Starting server..."); app.listen(PORT, async () => { - console.log(`listening on port ${PORT}`); + console.log(`Listening on port ${PORT}`); await connectDB(); admin.initializeApp({ credential: admin.credential.cert(serviceAccount), }); - console.log("Database Connected"); + console.log("Database connected"); let lbjob = new CronJob("30 4/5 * * * *", async () => { let before15 = await mongoDB()