From 4a98ac5d3ec844ba97a95995563699bf8e750b70 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 7 Oct 2025 19:26:36 +0300 Subject: [PATCH] Update middleware matcher to exclude 'offer' from routing - Modified the middleware configuration to exclude the 'offer' path from the matcher, ensuring that requests to this route are handled appropriately. --- apps/web/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/middleware.ts b/apps/web/middleware.ts index 59de87e..4d9df7d 100644 --- a/apps/web/middleware.ts +++ b/apps/web/middleware.ts @@ -12,6 +12,6 @@ export default withAuth({ export const config = { matcher: [ - '/((?!auth|browser|telegram|unregistered|privacy|public-offer|api|_next/static|_next/image|favicon.ico).*)', + '/((?!auth|browser|telegram|unregistered|privacy|offer|api|_next/static|_next/image|favicon.ico).*)', ], };