Nenad Novakovic
Read files in API route, fails on Vercel
Yea, I tried that before the rewrite too. But it was not convenient for me, because one of my endpoints indeed needed to go through all as directories were parameters and filenames were ids.
If you know what I mean... And with this hook, it's not not possible to list all, without knowing the path and filename.
5 replies