mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-04 19:21:51 +00:00
11 lines
300 B
TypeScript
11 lines
300 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/building-your-application/routing/middleware#matcher
|
|
matcher: ["/((?!api|_next/static|_next/image|.*\\.png$).*)"],
|
|
};
|