Keter delete all image updated in the server when deploy a new version

38 views Asked by At

I have a project in yesod to load image into a static / image directory. The problem is that when implementing a new version on the production server all the images are lost because the temp folder is removed; My question is how to define external paths to add images, I try whit this but don't work

uploadDirectory :: FilePath
uploadDirectory = ".." </> "pdf"

Or how to prevent keter from creating a new temporary folder each time that deploy a new version

0

There are 0 answers