11 lines
310 B
TypeScript
11 lines
310 B
TypeScript
import { getServerSession } from "next-auth";
|
|
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
|
|
import { NextResponse } from "next/server";
|
|
import type { NextRequest } from "next/server";
|
|
|
|
export { default } from "next-auth/middleware";
|
|
|
|
export const config = {
|
|
matcher: ["/form/:path*"],
|
|
};
|