fix(middleware): exclude push-sw.js from locale redirects
This commit is contained in:
@@ -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).*)",
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user