From 2848465630c41aaca75b4d08021d97ad9269eaac Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Thu, 3 Oct 2024 15:14:11 -0400 Subject: [PATCH] allow well known Signed-off-by: Xe Iaso --- middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index d89af66..0e38125 100644 --- a/middleware.ts +++ b/middleware.ts @@ -4,7 +4,7 @@ import { NextRequest, NextResponse } from "next/server"; export const config = { // matcher tells Next.js which routes to run the middleware on. // 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({