mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 01:15:49 +08:00
added consolelog
This commit is contained in:
parent
2603866f42
commit
e7c86ee20a
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue