Skip to content

Commit

Permalink
max age 1 month and mr13 on ff
Browse files Browse the repository at this point in the history
  • Loading branch information
rpkaul committed Dec 22, 2023
1 parent c602c61 commit b290baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if (config.get("server.useRedis")) {
resave: false,
saveUninitialized: true,
store: new redisStore(redisCfg),
cookie: { maxAge: 86400000 },
cookie: { maxAge: 2628000000 },
})
);
} else {
Expand All @@ -88,7 +88,7 @@ if (config.get("server.useRedis")) {
name: "G5API",
resave: false,
saveUninitialized: true,
cookie: { maxAge: 86400000 },
cookie: { maxAge: 2628000000 },
})
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/routes/matches/matchserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ router.get(
start_time: new Date().toISOString().slice(0, 19).replace("T", " "),
end_time: new Date().toISOString().slice(0, 19).replace("T", " "),
winner: teamIdWinner,
team1_score: req.params.winner_id == 1 ? 16 : 0,
team2_score: req.params.winner_id == 2 ? 16 : 0,
team1_score: req.params.winner_id == 1 ? 13 : 0,
team2_score: req.params.winner_id == 2 ? 13 : 0,
match_id: req.params.match_id,
};
let matchUpdateStmt = {
Expand Down

0 comments on commit b290baa

Please sign in to comment.