Skip to content

Commit

Permalink
Merge pull request #255 from jonfairbanks/fix/response-headers
Browse files Browse the repository at this point in the history
Fix Status Code
  • Loading branch information
jonfairbanks authored Oct 15, 2024
2 parents 8254ae1 + cd03d1c commit 4366d1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .tf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ resource "aws_api_gateway_method_response" "yo_api_catch_all_method_response" {
rest_api_id = aws_api_gateway_rest_api.yo_api.id
resource_id = aws_api_gateway_resource.yo_api_catch_all.id
http_method = aws_api_gateway_method.yo_api_catch_all_method.http_method
status_code = "404"
status_code = "200"
response_parameters = {
"method.response.header.Access-Control-Allow-Origin" = true
}
}

/* ------------------------- */
Expand Down

0 comments on commit 4366d1a

Please sign in to comment.