How to upload images using Convex storage? (Solved)
I'm using the Novel.sh package, and they are providing an uploadFn like this:
I have stripped it down to get rid of the Vercel blob storage implementation, and though I would use the uploadstuff.dev, but I really struggle to make it work within the onUpload. It does not seem to run the following lines:
If I run the console.log, I get the following:
So it would seem that the
onUpload is running but not the Convex specific functions. What have I missed?