Skip to content

Commit

Permalink
Format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
biffgaut committed Feb 15, 2023
1 parent 3a88f07 commit e74093d
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@ export class CloudFrontToS3 extends Construct {

this.s3BucketInterface = bucket;

const distributionResponse = defaults.CloudFrontDistributionForS3(
this,
this.s3BucketInterface,
props.cloudFrontDistributionProps,
props.insertHttpSecurityHeaders,
props.originPath,
props.cloudFrontLoggingBucketProps,
props.responseHeadersPolicyProps
);
this.cloudFrontWebDistribution = distributionResponse.distribution;
this.cloudFrontFunction = distributionResponse.cloudfrontFunction;
this.cloudFrontLoggingBucket = distributionResponse.loggingBucket;
}
const distributionResponse = defaults.CloudFrontDistributionForS3(
this,
this.s3BucketInterface,
props.cloudFrontDistributionProps,
props.insertHttpSecurityHeaders,
props.originPath,
props.cloudFrontLoggingBucketProps,
props.responseHeadersPolicyProps
);
this.cloudFrontWebDistribution = distributionResponse.distribution;
this.cloudFrontFunction = distributionResponse.cloudfrontFunction;
this.cloudFrontLoggingBucket = distributionResponse.loggingBucket;
}

}

0 comments on commit e74093d

Please sign in to comment.