Adding a Time‑Based “Login‑Free” Window to the /tv Route in CraveView
This story is from 2026-08-30. It is preserved in the archive; the latest stories are on the live feed.
Adding a Time‑Based “Login‑Free” Window to the /tv Route in CraveView TL;DR: I added a temporary rule that lets anyone access /tv without a session cookie between 9 AM‑6 PM America/Cancun. The change lives in src/lib/auth.ts (new helper) and src/middleware.ts (conditional auth bypass). The Problem…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-08-30 18:14 · DEV Community — AI
Adding a Time‑Based “Login‑Free” Window to the /tv Route in CraveView