Skip to content

Instantly share code, notes, and snippets.

@psychok7
Created September 7, 2014 18:15
Show Gist options
  • Save psychok7/dc04a308a2cb10544b79 to your computer and use it in GitHub Desktop.
Save psychok7/dc04a308a2cb10544b79 to your computer and use it in GitHub Desktop.
CORS CONFIGURATION
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment