Fix CORS policy template
parent
71b2f7a4f2
commit
ee44c12baf
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue