DEV Community

Discussion on: How I deployed a Gatsby site to AWS S3

Collapse
 
piczmar_0 profile image
Marcin Piczkowski

Hi, Thanks for your post. I have an issue with CloudFront though.
It's not my project (github.com/JimLynchCodes/AWS-Deplo...) but I encountered the same problem that router seems not to work when I deploy site and paste the link to /page-2 directly in the browser. Do you know what it could be?
I saw this post also: hackernoon.com/hosting-static-reac...

I already redirect errors 404 and 403 to /index.html in CloudFront as many people advised.