- Add lib/auth.ts for cookie-based session storage - Add AuthGuard component for route protection - Update request.ts to include sid in Authorization header - Update login-form.tsx to save session and redirect if authenticated - Wrap ChatPage with AuthGuard Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api/desktop/session | ||
| login | ||
| ~offline | ||
| favicon.ico | ||
| header.tsx | ||
| icon.png | ||
| layout.tsx | ||
| manifest.ts | ||
| page.tsx | ||
| providers.tsx | ||
| sw-register.tsx | ||
| theme-toggle.tsx | ||