From b305c4563ff98dd919abc3dd168141691bf50fd9 Mon Sep 17 00:00:00 2001 From: elpatron Date: Tue, 13 Jan 2026 12:51:36 +0100 Subject: [PATCH] fix(middleware): exclude push-sw.js from locale redirects --- middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware.ts b/middleware.ts index 6c56d8d..3d65931 100644 --- a/middleware.ts +++ b/middleware.ts @@ -25,6 +25,6 @@ export function middleware(request: NextRequest) { export const config = { matcher: [ // Skip all internal paths (_next) - "/((?!_next|api|public|manifest|icon|file|globe|next|vercel|window).*)", + "/((?!_next|api|public|manifest|icon|file|globe|next|vercel|window|push-sw.js).*)", ], };