I have created a React boilerplate configured with react-router that has 2 pages (home and about).
I have hosted this simple application in an Amazon S3 bucket with static website hosting enabled.
The issue I have, is that any URL's such as /about return a 404 error to page speed insights. Example: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.workzey.com%2Fabout
In my S3 bucket I have set up the index and error documents both as index.html - as it should be so that react-router can do it's thing.
This is an issue for me as I need search engines to be able to crawl my site. I have run page speed insights on internal URL's from other react JS sites, and they do not seem to get a 404.
This is the simplest version of a React App hosted on S3, why is this happening when I run page speed insights on internal URLs configured with react-router? The resolution is greatly appreciated!