Skip to content

Commit

Permalink
fix: remove FPJS_DEBUG header from the template
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed May 8, 2024
1 parent d53993f commit e58d6cd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cloudformation/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Parameters:
DistributionId:
Description: CloudFront distribution ID. Leave it empty to create a new distribution
Default: ""
Type: String
Type: String
FpjsGetResultPath:
AllowedPattern: ^([a-zA-Z0-9\-])+$
Description: FPJS_GET_RESULT_PATH value
Expand Down Expand Up @@ -186,7 +186,7 @@ Resources:
LambdaFunctionAssociations:
- EventType: origin-request
IncludeBody: true
LambdaFunctionARN: !Ref FingerprintProCloudFrontLambdaVersion
LambdaFunctionARN: !Ref FingerprintProCloudFrontLambdaVersion
OriginRequestPolicyId: 216adef6-5c7f-47e4-b989-5492eafa07d3 # Default AllViewer policy
SmoothStreaming: false
TargetOriginId: fpcdn.io
Expand All @@ -198,9 +198,6 @@ Resources:
OriginCustomHeaders:
- HeaderName: FPJS_SECRET_NAME
HeaderValue: !Ref FingerprintIntegrationSettingsSecret
# Enabled debug logging in Lambda@Edge function. Should be disabled in production env
- HeaderName: FPJS_DEBUG
HeaderValue: true
CustomOriginConfig:
HTTPPort: 80
HTTPSPort: 443
Expand Down

0 comments on commit e58d6cd

Please sign in to comment.