Hey, me again... So I have a Pages Function in the root of my functions directory called `[articleI

Hey, me again...

So I have a Pages Function in the root of my functions directory called [articleId].ts. A catch all for all domain.com/<id>.
This is great, however, it also catches domain.com itself. Which I do not want, as it will trigger the function for no reason.

I thought I could disable this via _routes.json:
{
  "version": "1",
  "include": ["/*"],
  "exclude": "/"
}
Was this page helpful?