Skip to content

Commit

Permalink
Reverting as covered under getlift#328
Browse files Browse the repository at this point in the history
  • Loading branch information
aran112000 authored Apr 27, 2023
1 parent 8af44b1 commit a44af1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constructs/aws/ServerSideWebsite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export class ServerSideWebsite extends AwsConstruct {
private createRequestFunction(): cloudfront.Function {
let additionalCode = "";

if (this.configuration.redirectToMainDomain === true && this.domains?.length > 1) {
if (this.configuration.redirectToMainDomain === true) {
additionalCode += redirectToMainDomain(this.domains);
}

Expand Down

0 comments on commit a44af1f

Please # to comment.