diff --git a/cdk/resources/WebAppHosting.ts b/cdk/resources/WebAppHosting.ts index f82e7df4..c5074661 100644 --- a/cdk/resources/WebAppHosting.ts +++ b/cdk/resources/WebAppHosting.ts @@ -25,7 +25,7 @@ export class WebAppHosting extends CloudFormation.Resource { ], removalPolicy: CloudFormation.RemovalPolicy.DESTROY, websiteIndexDocument: 'index.html', - websiteErrorDocument: 'error.html', + websiteErrorDocument: 'index.html', }) this.distribution = new CloudFront.CfnDistribution(