diff --git a/package.json b/package.json index 96e04f8..57af515 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.81.4", + "version": "1.81.5", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index f2ef4f8..e6965ba 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -8942,9 +8942,17 @@ export default function WeeklyView() { )} {showMobileFabMenu && (
- + + - - -
)} diff --git a/src/lib/auth.ts b/src/lib/auth.ts index a10bcb0..8841417 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -87,7 +87,9 @@ export const authOptions: NextAuthOptions = { ], debug: true, session: { - strategy: "jwt" + strategy: "jwt", + maxAge: 30 * 24 * 60 * 60, // 30 days + updateAge: 24 * 60 * 60, // refresh cookie on each daily visit (keeps iOS PWA alive) }, pages: { signIn: "/auth/login",