T
TanStack2mo ago
robust-apricot

Public folder not serving files from .output/public in build

So i build my app. I have files in .output/public/screenshots/1ed4ce43-947c-4552-a4f4-8c0c43addae7-1752632689337.png when i go to it just says does not exists this works in dev with /public folder: http://localhost:3000/screenshots/1ed4ce43-947c-4552-a4f4-8c0c43addae7-1752632689337.png these assets are generated after the build / their from previous build. Is their something i am doing wrong here? it does seem if it is built with the png file it works. is their a config or something that just allows you to say anything in this dir can be served. or should i just make a api endpoint or smthing for this
1 Reply
robust-apricot
robust-apricotOP2mo ago

Did you find this page helpful?