1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix active storage cors configuration [ci skip]

This commit is contained in:
Manuel Meurer 2020-06-25 09:12:46 +02:00
parent a6e98b2267
commit 517aa61051
No known key found for this signature in database
GPG key ID: A61676F52806A868

View file

@ -617,9 +617,8 @@ No CORS configuration is required for the Disk service since it shares your app
#### Example: S3 CORS configuration
```xml
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>https://www.example.com</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedHeader>Origin</AllowedHeader>
@ -627,7 +626,7 @@ No CORS configuration is required for the Disk service since it shares your app
<AllowedHeader>Content-MD5</AllowedHeader>
<AllowedHeader>Content-Disposition</AllowedHeader>
<MaxAgeSeconds>3600</MaxAgeSeconds>
</CORSRule>
</CORSRule>
</CORSConfiguration>
```