From 42407609a22088718590efa2220691f6f5980d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Francisco?= <4301103+tomasfrancisco@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:59:14 +0200 Subject: [PATCH] ignore monitoring from middleware (#32) --- apps/dashboard/src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/middleware.ts b/apps/dashboard/src/middleware.ts index e29ca4c..bef5167 100644 --- a/apps/dashboard/src/middleware.ts +++ b/apps/dashboard/src/middleware.ts @@ -60,6 +60,6 @@ export async function middleware(request: NextRequest) { export const config = { matcher: [ - '/((?!_next/static|_next/image|favicon.ico|api/|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)', + '/((?!_next/static|_next/image|favicon.ico|api/|monitoring/|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)', ], };