fix(ente): add bucket CORS policy
All checks were successful
Renovate / renovate (push) Successful in 1m27s
All checks were successful
Renovate / renovate (push) Successful in 1m27s
This commit is contained in:
parent
7de4707ce5
commit
1b593c6f9c
2 changed files with 22 additions and 0 deletions
22
ente/config/bucket-cors-policy.json
Normal file
22
ente/config/bucket-cors-policy.json
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"CORSRules": [
|
||||||
|
{
|
||||||
|
"AllowedOrigins": ["https://ente.icb4dc0.de"],
|
||||||
|
"AllowedMethods": ["GET", "PUT", "POST"],
|
||||||
|
"AllowedHeaders": [
|
||||||
|
"Authorization",
|
||||||
|
"Content-Type",
|
||||||
|
"x-amz-date",
|
||||||
|
"x-amz-content-sha256",
|
||||||
|
"x-amz-user-agent"
|
||||||
|
],
|
||||||
|
"ExposeHeaders": [
|
||||||
|
"x-amz-server-side-encryption",
|
||||||
|
"x-amz-request-id",
|
||||||
|
"x-amz-id-2",
|
||||||
|
"ETag"
|
||||||
|
],
|
||||||
|
"MaxAgeSeconds": 600
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
Loading…
Reference in a new issue