Skip to content

Commit

Permalink
Configure Access-Control-Allow-Headers for RUM
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Dec 12, 2023
1 parent 0f33da9 commit abd4c8f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/api_gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,15 @@ module "api_gateway" {
allow_headers = [
"authorization",
"content-type",
"traceparent",
"x-amz-date",
"x-amz-security-token",
"x-amz-user-agent",
"x-api-key",
"x-datadog-trace-id",
"x-datadog-parent-id",
"x-datadog-origin",
"x-datadog-sampling-priority",
]
max_age = 86400 // 24 hours, in seconds
}
Expand Down

0 comments on commit abd4c8f

Please sign in to comment.