Skip to content

Commit db128f7

Browse files
committed
CORS config
1 parent 908e5db commit db128f7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Django_Blog/snippets/cors-config.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
3+
<CORSRule>
4+
<AllowedOrigin>*</AllowedOrigin>
5+
<AllowedMethod>GET</AllowedMethod>
6+
<AllowedMethod>POST</AllowedMethod>
7+
<AllowedMethod>PUT</AllowedMethod>
8+
<AllowedHeader>*</AllowedHeader>
9+
</CORSRule>
10+
</CORSConfiguration>

0 commit comments

Comments
 (0)