allow well known

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2024-10-03 15:14:11 -04:00
parent 547ab3dc85
commit 2848465630
Signed by: xe
SSH Key Fingerprint: SHA256:4VmLEcSFkJqNVktQ6/3CA2uSk8wGZ8VEzLmTQTyjngM

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|.well-known/.*).*)"],
}; };
const aj = arcjet({ const aj = arcjet({