diff --git a/src/static-website/index.ts b/src/static-website/index.ts index fb394ff4..06ace876 100644 --- a/src/static-website/index.ts +++ b/src/static-website/index.ts @@ -257,5 +257,6 @@ function redirectFunctionCode(domainName: string): string { value: 'https://${domainName}', }, }, -};`; + }; +}`; } diff --git a/test/static-website/__snapshots__/static-website.test.ts.snap b/test/static-website/__snapshots__/static-website.test.ts.snap index 1f97f811..d7ad3347 100644 --- a/test/static-website/__snapshots__/static-website.test.ts.snap +++ b/test/static-website/__snapshots__/static-website.test.ts.snap @@ -644,7 +644,8 @@ exports[`StaticWebsite 1`] = ` value: 'https://www.my-site.com', }, }, -};", + }; +}", "FunctionConfig": { "Comment": "eu-west-1StackStaticWebsiRedirectFunction172BEC3F", "Runtime": "cloudfront-js-2.0",