From 7744e17ed3526c9a062cb1b201b44878a85c7fb4 Mon Sep 17 00:00:00 2001 From: Andrei Palchys Date: Wed, 29 Nov 2023 16:38:28 +0200 Subject: [PATCH] fix: policy --- src/cdk/AngularCourseStack.ts | 1 - 1 file changed, 1 deletion(-) 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],