next-intl middleware - I don't get it?
Unanswered
nehalist posted this in #help-forum
![Avatar](https://cdn.discordapp.com/avatars/257212360479997953/31697a43f7781b5d647dd25a3104fe11.webp?size=256)
nehalistOP
My middleware matcher for next-intl looks like this:
when I visit
to the matcher everything works. Why?
I currently receive tons of NEXT_NOT_FOUND errors on Vercel due to things like favicon.ico, etc. - but why?
matcher: [
"/",
"/(about|changelog|pagexyz)/:path*",
],
when I visit
/foo
(which doesn't exist) I see the nextjs 404 page and receive an error in the console (NEXT_NOT_FOUND
). when I add "/((?!api|_next|_vercel|.*\\..*).*)"
to the matcher everything works. Why?
I currently receive tons of NEXT_NOT_FOUND errors on Vercel due to things like favicon.ico, etc. - but why?