Direct link to media library files

System Information
  • Strapi Version: 4.22.0
  • Operating System:
  • Database:
  • Node Version: 20.12.1
  • NPM Version: 10.5.0
  • Yarn Version:

Hello,

We are working with Strapi on our project and we have a constraint which is to have links to resources in media library that are permanent. But with the hash that is added in the name and the link, when a new file is uploaded, we can’t prevent our users to delete a file and re-upload it and if they do that the previous link (with another hash) will not work anymore.

Does anyone knows if it’s possible to disable this addition of a hash in files name when they are uploaded ? Or if the only solution is to create a custom upload provider ?

Thanks in advance.