Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
fix(hosting): set error document to index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jul 24, 2019
1 parent 4f6dce0 commit 45c41de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/resources/WebAppHosting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 45c41de

Please sign in to comment.