Re:Deploying front-end websites to S3 with CloudFront
by tfolbrecht on Saturday February 15, 2020 @05:19PM
(#22338416)
Like a SPA? You use a something like react router and set the S3 error page to your index. I've deployed many SPAs to AWS S3/ Cloudfront. You have to handle the 404 page in app
Here's a SO post https://stackoverflow.com/questions/51218979/react-router-do...