Skip to content

Commit

Permalink
fix NextjsDomain overrides (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickufer authored Mar 6, 2024
1 parent 1f7ad33 commit 561a95d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Nextjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export class Nextjs extends Construct {
if (this.props.domainProps) {
this.domain = new NextjsDomain(this, 'Domain', {
...this.props.domainProps,
overrides: props.overrides?.nextjsDomain,
...props.overrides?.nextjs?.nextjsDomainProps,
});
}
Expand Down

0 comments on commit 561a95d

Please sign in to comment.