Skip to content

Instantly share code, notes, and snippets.

@scripting
Created September 20, 2014 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scripting/afc95f1b951978c58ad7 to your computer and use it in GitHub Desktop.
Save scripting/afc95f1b951978c58ad7 to your computer and use it in GitHub Desktop.
CORS config for S3 bucket that allows access from River Browser
<?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>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
@scripting
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment