feat: Don't run middleware on _next, .*avatar.png & favicon.ico (#10344)
parent
365b95e28a
commit
0138fdd971
|
@ -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*",
|
||||
|
|
Loading…
Reference in New Issue