This topic has been discussed in the past and I can't find a solution for this (https://community.vercel.com/t/writing-reading-from-the-vercel-file-system/1487)
I have a route that is trying to load a .sql query to pass to the postgres driver. I am following the examples laid out here: https://vercel.com/guides/how-can-i-use-files-in-serverless-functions#how-can-i-use-files-in-vercel-functions
I see that in the Source tab the .sql file is present there but I keep getting 'file not found'.
In a server route, can't I read a sql file? or any file for that matter? Or do I need a plugin for this use case?
Thank you