Files
webhooker/internal/handlers/index.go
clawbot 9a0a6f88e3
All checks were successful
check / check (push) Successful in 1m53s
feat: redirect root path based on auth state
/ now checks for an authenticated session:
- Authenticated users → 303 redirect to /sources
- Unauthenticated users → 303 redirect to /pages/login

Removes the old index page template rendering and formatUptime
helper (now dead code). Adds tests for both redirect cases.
2026-03-17 04:58:20 -07:00

568 B