Add CORS Configuration to your S3 Bucket

From Sngine v2.5.4 and after intoducing Sngine Crop Profile Picture feature.

If you are using Amazon S3 bucket you will need to add CORS Configuration to your S3 Bucket to work fine with new features like crop profile picture

To add this you need to follow these simple steps:

1- Click on your bucket name to show the right panel menu then click on Permssions

2- Click on CORSĀ Configuration

3- Add the following code and click Save

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>

That’s it šŸ˜‰

Happy Sngine.