fix: update middleware matcher to exclude webmanifest files

This commit is contained in:
Dries Augustyns
2026-05-05 08:25:51 +02:00
parent 80ef65e04b
commit cbb3bffcf4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,5 +63,5 @@ export function middleware(request: NextRequest) {
}
export const config = {
matcher: ['/((?!api|_next|favicon\\.ico|assets|.*\\.(?:png|jpg|jpeg|gif|svg|ico|webp|woff|woff2|ttf|css|js|xml|txt)).*)',],
matcher: ['/((?!api|_next|favicon\\.ico|assets|.*\\.(?:png|jpg|jpeg|gif|svg|ico|webp|woff|woff2|ttf|css|js|xml|txt|webmanifest)).*)',],
};