From 45c41de25feb1987d1ca2bc6c90720afee1e2780 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Wed, 24 Jul 2019 17:01:44 +0200 Subject: [PATCH] fix(hosting): set error document to index.html --- cdk/resources/WebAppHosting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(