diff --git a/src/Nextjs.ts b/src/Nextjs.ts index c4d777c0..8f3ecd47 100644 --- a/src/Nextjs.ts +++ b/src/Nextjs.ts @@ -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, }); }