This commit is contained in:
NotII
2025-03-23 22:31:30 +00:00
parent fb0fc7b132
commit 290bba7f05
2 changed files with 29 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
import { NextRequest, NextResponse } from 'next/server';
// This ensures this route is always handled at runtime and never prerendered
export const dynamic = 'force-dynamic';
export async function GET(req: NextRequest) {
try {
// Check for Authorization in headers first, then fall back to cookies