import { NextResponse } from "next/server"; /** * Next.js middleware — currently a no-op pass-through. * * The real auth check lives in the per-page server component * (`src/app/(tv)/dashboard/page.tsx`) because `tv-session` uses * `node:crypto` (HMAC), which isn't bundled by the Edge runtime. * Importing the helper here would fail webpack's node: scheme * handling. * * Leaving the matcher in place so future Edge-friendly concerns * (rate limiting, origin checks) can be added without re-declaring * it. */ export function middleware() { return NextResponse.next(); } export const config = { matcher: ["/board/:path*"], };