feat: Don't run middleware on _next, .*avatar.png & favicon.ico (#10344)

pull/10346/head
Alex van Andel 2023-07-24 17:55:55 +01:00 committed by GitHub
parent 365b95e28a
commit 0138fdd971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ const middleware: NextMiddleware = async (req) => {
export const config = {
matcher: [
"/:path*",
"/((?!_next|.*avatar.png$|favicon.ico$).*)",
"/api/collect-events/:path*",
"/api/auth/:path*",
"/apps/routing_forms/:path*",