Next.js Discord

Discord Forum

NEXT Route /foo.bar renders homepage

Unanswered
Common Moorhen posted this in #help-forum
Open in Discord
Common MoorhenOP
when i route to /foo.bar it renders homepage instead of throwing 404

1 Reply

Common MoorhenOP
within my dynamic route i basically cant access a dynamic route with a dot. for example when i go with /foobar it works and renders the subpage, but with /foo.bar it tries to download static files as it downloads next.svg for instance. is there a problem in my middleware? Here i share the matcher