From fb5073f0b67dc039c124fece0ff56c160855bade Mon Sep 17 00:00:00 2001 From: Mischa Spiegelmock Date: Mon, 10 Oct 2022 13:37:17 -0700 Subject: [PATCH] more customization --- src/Nextjs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nextjs.ts b/src/Nextjs.ts index f2e45149..b3f85c63 100644 --- a/src/Nextjs.ts +++ b/src/Nextjs.ts @@ -495,6 +495,7 @@ export class Nextjs extends Construct { }), viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS, }, + ...this.props.cdk?.distribution, }); }