Fix CORS policy template
parent
71b2f7a4f2
commit
ee44c12baf
|
@ -1,16 +1,10 @@
|
||||||
<CORSConfiguration>
|
<CORSConfiguration>
|
||||||
<CORSRule>
|
<CORSRule>
|
||||||
<AllowedOrigin>https://cog.losno.co</AllowedOrigin>
|
<AllowedOrigin>https://cog.losno.co</AllowedOrigin>
|
||||||
|
<AllowedOrigin>http://localhost:3000</AllowedOrigin>
|
||||||
<AllowedMethod>GET</AllowedMethod>
|
<AllowedMethod>GET</AllowedMethod>
|
||||||
<AllowedHeader>*</AllowedHeader>
|
<AllowedHeader>*</AllowedHeader>
|
||||||
<MaxAgeSeconds>3600</MaxAgeSeconds>
|
<MaxAgeSeconds>3600</MaxAgeSeconds>
|
||||||
<ExposeHeader>x-server-side-encryption</ExposeHeader>
|
<ExposeHeader>x-server-side-encryption</ExposeHeader>
|
||||||
</CORSRule>
|
</CORSRule>
|
||||||
<CORSRule>
|
|
||||||
<AllowedOrigin>http://localhost:3000</AllowedOrigin>
|
|
||||||
<AllowedMethod>GET</AllowedMethod>
|
|
||||||
<AllowedHeader>*</AllowedHeader>
|
|
||||||
<MaxAgeSeconds>300</MaxAgeSeconds>
|
|
||||||
<ExposeHeader>x-server-side-encryption</ExposeHeader>
|
|
||||||
</CORSRule>
|
|
||||||
</CORSConfiguration>
|
</CORSConfiguration>
|
||||||
|
|
Loading…
Reference in New Issue