Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2024-10-03 09:17:16 -04:00
parent 8668dab43b
commit 8184fece1b
No known key found for this signature in database

View File

@ -4,7 +4,7 @@ import { NextRequest, NextResponse } from "next/server";
export const config = { export const config = {
// matcher tells Next.js which routes to run the middleware on. // matcher tells Next.js which routes to run the middleware on.
// This runs the middleware on all routes except for static assets. // This runs the middleware on all routes except for static assets.
matcher: ["/((?!_next/static|_next/image|favicon.ico|/_healthz).*)"], matcher: ["/((?!_next/static|_next/image|favicon.ico|_healthz).*)"],
}; };
const aj = arcjet({ const aj = arcjet({