How to write file to the persisted disk ?1

After i read render documentation, where i read that “Render services can use disks to store data that persists across deploys and restarts” i bougth the disk storage but the files is not still persisted between redeploys.
Is threre some configuration which i have to set ?!
I think i’m not saveing files correctly with node.js.
Currently my code uses multer and sharp.js to perform file upload. I’m saving files in memory storage with multer and then by the sharp.js i’m converting images to .webp format and then saving to file system with sharp again. The location is public/images in the code and in the render disk mounting path too.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.