Skip to content

Commit

Permalink
Merge pull request #257 from jonfairbanks/fix/response-headers
Browse files Browse the repository at this point in the history
Yay CORS!
  • Loading branch information
jonfairbanks authored Oct 15, 2024
2 parents 1d4a5f4 + 09b32e5 commit 0ff348f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ resource "aws_api_gateway_integration_response" "yo_api_catch_all_integration_re
status_code = "200"

response_parameters = {
"method.response.header.Access-Control-Allow-Origin" = "integration.response.header.Access-Control-Allow-Origin"
"method.response.header.Access-Control-Allow-Origin" = "'*'" # Static value for CORS
}

response_templates = {
Expand Down

0 comments on commit 0ff348f

Please sign in to comment.