Skip to content

Commit

Permalink
Removed x-frame option response headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ManithaSrinivasa committed Sep 26, 2024
1 parent a7668ea commit c827ee4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ resource "aws_api_gateway_method_response" "response_200" {
"method.response.header.Cache-control" = true
"method.response.header.Pragma" = true
"method.response.header.Strict-Transport-Security" = true
"method.response.header.X-Frame-Options" = true
"method.response.header.Content-Security-Policy" = true
"method.response.header.X-Content-Type-Options" = true
# "method.response.header.X-Frame-Options" = true
}
response_models = {
"application/json" = aws_api_gateway_model.default_model.name
Expand All @@ -25,9 +25,9 @@ resource "aws_api_gateway_method_response" "response_400" {
"method.response.header.Cache-control" = true
"method.response.header.Pragma" = true
"method.response.header.Strict-Transport-Security" = true
"method.response.header.X-Frame-Options" = true
"method.response.header.Content-Security-Policy" = true
"method.response.header.X-Content-Type-Options" = true
# "method.response.header.X-Frame-Options" = true
}
response_models = {
"application/json" = aws_api_gateway_model.default_model.name
Expand All @@ -43,9 +43,9 @@ resource "aws_api_gateway_method_response" "response_500" {
"method.response.header.Cache-control" = true
"method.response.header.Pragma" = true
"method.response.header.Strict-Transport-Security" = true
"method.response.header.X-Frame-Options" = true
"method.response.header.Content-Security-Policy" = true
"method.response.header.X-Content-Type-Options" = true
# "method.response.header.X-Frame-Options" = true
}
response_models = {
"application/json" = aws_api_gateway_model.default_model.name
Expand Down

0 comments on commit c827ee4

Please sign in to comment.