diff --git a/src/cdk/AngularCourseStack.ts b/src/cdk/AngularCourseStack.ts index 242b1a3..4639721 100644 --- a/src/cdk/AngularCourseStack.ts +++ b/src/cdk/AngularCourseStack.ts @@ -232,7 +232,6 @@ export class AngularCourseStack extends cdk.Stack { responseHeadersPolicy: cloudfront.ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS, cachePolicy: cloudfront.CachePolicy.CACHING_DISABLED, - originRequestPolicy: cloudfront.OriginRequestPolicy.ALL_VIEWER, viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS, }, domainNames: [this.fqdn],