Matcher on Middleware being applied on /
Answered
shadow posted this in #help-forum
shadowOP
Hey devs im trying to make the middleware bypass the root direcory with the matcher but for some reason its still being applied on
/
export const config = {
matcher: [
'/((?!api|_next/static|_next/image|favicon.ico|^$).*)',
],
};
1 Reply
shadowOP
Nevermind, i removed the
^
.Answer