lila/apps/api/src/routes
lila a3685a9e68 feat(api): add auth middleware to protect game endpoints
- Add requireAuth middleware using Better Auth session validation
- Apply to all game routes (start, answer)
- Unauthenticated requests return 401
2026-04-12 13:38:32 +02:00
..
apiRouter.ts wip version of the api 2026-04-05 00:33:34 +02:00
gameRouter.ts feat(api): add auth middleware to protect game endpoints 2026-04-12 13:38:32 +02:00
healthRouter.ts wip version of the api 2026-04-05 00:33:34 +02:00