From 8624f190762ee77695cbc4894fb88fff44786069 Mon Sep 17 00:00:00 2001 From: Florian Trayon <26360935+FlorianLeChat@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:39:49 +0200 Subject: [PATCH] Fixed alternative route created by Sentry being blocked for error reporting --- middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index eea7314..ddda7b3 100644 --- a/middleware.ts +++ b/middleware.ts @@ -249,7 +249,7 @@ export default async function middleware( request: NextRequest ) export const config = { matcher: [ "/", - "/((?!api/admin|api/user|api/version|api/versions|api/file|api/public|api/files|assets|locales|_next|_vercel|sitemap.xml|manifest.webmanifest).*)" + "/((?!api/admin|api/user|api/version|api/versions|api/file|api/public|api/files|monitoring|assets|locales|_next|_vercel|sitemap.xml|manifest.webmanifest).*)" ] };