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:
parent
a6e98b2267
commit
517aa61051
1 changed files with 3 additions and 4 deletions
|
@ -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>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue