Auto-extend session if loading the home page

This commit is contained in:
Cohee
2024-04-13 19:12:50 +03:00
parent 1a372abaff
commit b340863d52
2 changed files with 7 additions and 0 deletions

1
index.d.ts vendored
View File

@@ -14,6 +14,7 @@ declare global {
declare module 'express-session' {
export interface SessionData {
handle: string;
touch: number;
// other properties...
}
}