Skip to content

Instantly share code, notes, and snippets.

@marcotinacci
Created August 3, 2017 08:26
Show Gist options
  • Save marcotinacci/a7965904b301aa18af6dcc56089cd104 to your computer and use it in GitHub Desktop.
Save marcotinacci/a7965904b301aa18af6dcc56089cd104 to your computer and use it in GitHub Desktop.
CORS configuration for allowing GET from everywhere
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment