Skip to content

Commit

Permalink
connect cf override props with distribution creation (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickufer authored Nov 9, 2023
1 parent d73b6ef commit f81ac21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NextjsDistribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export class NextjsDistribution extends Construct {

distribution = this.props.distribution;
} else {
distribution = this.createCloudFrontDistribution();
distribution = this.createCloudFrontDistribution(this.props.cdk?.distribution);
}

distribution.addBehavior(
Expand Down

0 comments on commit f81ac21

Please sign in to comment.