I'm hosting Strapi CMS on Heroku which has a limited amount of space so need to store media independently of the app.
To do this I installed strapi-provider-upload-aws-s3 and followed all of the configuration steps provided in the documentation but media is still being added to the public/uploads folder instead of my AWS S3 bucket and I can’t work out why. I’ve configured plugins.js, middlewares.js and updated my bucket policy.
Does anyone know if I need to do anything else to get this working for Strapi version 4.1.2?
I've also tried everything on this thread but I think the solutions are for version 3 because they're not working for me.

