Add local testing host to CORS policy file

CQTexperiment
Christopher Snowhill 2022-01-15 20:38:42 -08:00
parent 602facf31a
commit 33aa7e2f38
1 changed files with 7 additions and 0 deletions

View File

@ -6,4 +6,11 @@
<MaxAgeSeconds>3600</MaxAgeSeconds>
<ExposeHeader>x-server-side-encryption</ExposeHeader>
</CORSRule>
<CORSRule>
<AllowedOrigin>http://localhost:3000</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
<MaxAgeSeconds>300</MaxAgeSeconds>
<ExposeHeader>x-server-side-encryption</ExposeHeader>
</CORSRule>
</CORSConfiguration>