FileRouter from uploadthing doesn't write data to the database on vercel
.onUploadComplete works fine locally and hits after uploading a file but does not so on Vercel. I have cross checked on Uploadthing to confirm if the file is getting uploaded and it does, but it doesn't insert the file into the postgres database table after uploading it to uploadthing. The same problem doesn't exists when done locally. What could be the problem? Thank you and any help would be appreciated.
0 Replies