Next Auth Middleware Id route
Answered
Mallow bee posted this in #help-forum
Mallow beeOP
How do i make the /[id] work?
export { default } from "next-auth/middleware";
export const config = {
matcher: [
"/dashboard",
"/dashboard/developers",
"/dashboard/developers/[id]",
],
};
Answered by European sprat
6 Replies
European sprat
regex
@European sprat regex
Mallow beeOP
can you give me an example
Answer
European sprat
actually, you don't even need regex based on what you want to do there
see the linked docs