News for hackers. Stuff that matters.
Re:Deploying front-end websites to S3 with CloudFront by bett3513 on Sunday February 16, 2020 @02:37AM (#22340406)
You can add an error behaviour in cloudfront that defaults the 404 behaviours to the index page. If you also add the index and error of the S3 config to the same index page it all works perfectly.

We have multiple React sites deployed this way to S3/Cloudfront with react-router and experience no issues.

There are no comments on this comment yet.