Reading public folder on prod
Hey y'all! So I have a folder of images residing in
/public
, that I read from a trpc procedure, and render the contents of it on client. Everything works great in development, but obviously things work different on prod. So my question is, how can I access the /public
folder on prod, when the project is hosted on vercel.
Here's how I tried to do it, but it only works on dev, as I previously mentioned.
Thanks 🙏2 Replies