Files
2026-05-12 17:35:38 +03:00

10 lines
291 B
TypeScript

import NextAuth from "next-auth";
import { authConfig } from "./auth.config";
export default NextAuth(authConfig).auth;
export const config = {
// https://nextjs.org/docs/app/api-reference/file-conventions/proxy#matcher
matcher: ["/((?!api|_next/static|_next/image|.*\\.png$).*)"],
};