I installed aws s3 as an upload provider for my Strapi Backend:
// path: ./config/plugins.js
module.exports = ({ env }) => ({
// ...
upload: {
config: {
provider: 'aws-s3',
providerOptions: {
accessKeyId: env('AWS_ACCESS_KEY_ID'),
secretAccessKey: env('AWS_ACCESS_SECRET'),
region: env('AWS_REGION'),
params: {
Bucket: env('AWS_BUCKET'),
},
},
},
},
// ...
});
It is connected to aws s3 but the image is broken when I uploaded it:

And I still get the image uploaded to aws s3:

I don't know how to fix this because I'm new to using Strapi and AWS S3. Thanks for your help!