Skip to content

Commit

Permalink
Fix failed synthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
NChitty committed Mar 20, 2024
1 parent b1d7b50 commit 164ffdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cdk/lib/application-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ export default class ApplicationLayerStack extends Stack {
domainName,
validation: CertificateValidation.fromDns(hostedZone),
});
const apiDomainName = api.addDomainName('ApiDomain', {
api.addDomainName('ApiDomain', {
domainName,
certificate,
});
apiDomainName.addApiMapping(api.deploymentStage);
}
}

0 comments on commit 164ffdb

Please sign in to comment.