UniHunt / src /proxy.ts
ashnhash's picture
Cursor
Add university course finder app and Hugging Face Spaces Docker config.
1b0e2d2
Raw History Blame Contribute Delete
325 Bytes
import { type NextRequest } from "next/server";
import { updateSession } from "@/lib/supabase/proxy";
export async function proxy(request: NextRequest) {
return updateSession(request);
}
export const config = {
matcher: [
"/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)",
],
};