Skip to content

Commit

Permalink
Merge pull request #16 from a-company-jp/set-response-header-cors-gcs
Browse files Browse the repository at this point in the history
CORS用のresponse headerの追加
  • Loading branch information
Shion1305 authored Apr 13, 2024
2 parents 3634378 + f8e8bab commit 5046cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envs/dev/gcs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "google_storage_bucket" "public_image_bucket" {
cors {
origin = ["*"]
method = ["GET"]
response_header = ["*"]
response_header = ["Content-Type", "Access-Control-Allow-Origin"]
max_age_seconds = 3600
}
}

0 comments on commit 5046cb0

Please sign in to comment.