Skip to content

Commit

Permalink
allow HEAD requests from different origins.
Browse files Browse the repository at this point in the history
  • Loading branch information
satra committed May 3, 2022
1 parent 8168d0e commit 9aef551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/sponsored_bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ resource "aws_s3_bucket" "sponsored_bucket" {
"PUT",
"POST",
"GET",
"HEAD",
"DELETE",
]
allowed_headers = [
Expand Down
1 change: 1 addition & 0 deletions terraform/staging_bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ resource "aws_s3_bucket" "api_staging_dandisets_bucket" {
"PUT",
"POST",
"GET",
"HEAD",
"DELETE",
]
allowed_headers = [
Expand Down

0 comments on commit 9aef551

Please sign in to comment.