Merge pull request #39719 from manuelmeurer/fix-active-storage-cors-configuration

fix active storage cors configuration [ci skip]
This commit is contained in:
Jonathan Hefner 2020-06-27 01:05:17 -05:00 committed by GitHub
commit 10c39fd262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

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>
```