- Add requireAuth middleware using Better Auth session validation - Apply to all game routes (start, answer) - Unauthenticated requests return 401 |
||
|---|---|---|
| .. | ||
| components/game | ||
| lib | ||
| routes | ||
| index.css | ||
| main.tsx | ||
| routeTree.gen.ts | ||
- Add requireAuth middleware using Better Auth session validation - Apply to all game routes (start, answer) - Unauthenticated requests return 401 |
||
|---|---|---|
| .. | ||
| components/game | ||
| lib | ||
| routes | ||
| index.css | ||
| main.tsx | ||
| routeTree.gen.ts | ||