export { default } from "next-auth/middleware";

export const config = {
  matcher: [
    // Protege tudo exceto login, api/auth, uploads e arquivos estáticos
    "/((?!login|api/auth|uploads|_next/static|_next/image|favicon.ico).*)",
  ],
};
