12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
import { NextResponse } from "next/server";
|
|
import type { NextRequest } from "next/server";
|
|
|
|
export function proxy(request: NextRequest) {
|
|
// All /form routes are allowed through — auth is handled via dialog in the layout
|
|
return NextResponse.next();
|
|
}
|
|
|
|
export const config = {
|
|
matcher: ["/form/:path*"],
|
|
};
|