Skip to content

Commit

Permalink
CORS config
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyMSchafer committed Feb 18, 2019
1 parent 908e5db commit db128f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Django_Blog/snippets/cors-config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>

0 comments on commit db128f7

Please sign in to comment.