How to avoid catching static files on a catch all route?
Unanswered
Asian black bear posted this in #help-forum
Asian black bearOP
I added a pages/[[...slug]] in order to catch a list of 30+ CMS related routes. I am running into a couple of issues:
I have a custom express server. the new catch all route is also catching files like /_next/static/chunks/pages/types.js.map for some reason and I would have to return
Thanks!
I have a custom express server. the new catch all route is also catching files like /_next/static/chunks/pages/types.js.map for some reason and I would have to return
{ notFound: true} in the catch all file when that happens. is there a way to prevent this?Thanks!