Fix CORS policy template

CQTexperiment
Christopher Snowhill 2022-01-16 14:07:44 -08:00
parent 71b2f7a4f2
commit ee44c12baf
1 changed files with 1 additions and 7 deletions

View File

@ -1,16 +1,10 @@
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>https://cog.losno.co</AllowedOrigin>
<AllowedOrigin>http://localhost:3000</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
<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>