Open sidemt opened 4 months ago
New dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
npm/@strapi/provider-upload-aws-s3@4.20.0 | Transitive: environment, filesystem, network, shell | +105 |
6.19 MB | markkaylor |
... config should work if the permissions on the AWS S3 are configured properly.
Please point me to the bucket policy, IAM role etc. that I need to configure. Thanks
@raisedadead Sure, I will document and share them with you.
Checklist:
Update index.md
)Closes #52
I tested uploading and retrieving images with my personal AWS account. This config should work if the permissions on the AWS S3 are configured properly.
The
URL()
constructor is smart enough to use the second argument (base URL) only if the first argument is a relative path. So the frontend app works for both development (using local disk) and production (using S3) without any changes.