fix: validate S3 browser download CORS
This commit is contained in:
11
docker/storage/cors.json
Normal file
11
docker/storage/cors.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"CORSRules": [
|
||||
{
|
||||
"AllowedOrigins": ["https://tp.workyai.cn"],
|
||||
"AllowedMethods": ["GET", "HEAD"],
|
||||
"AllowedHeaders": ["*"],
|
||||
"ExposeHeaders": ["Content-Disposition", "Content-Length", "Content-Type", "ETag"],
|
||||
"MaxAgeSeconds": 3600
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user