stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 391 forks source link

Private Route Crawl #491

Open jersrej opened 3 years ago

jersrej commented 3 years ago

Hi,

I was following this issue #330 since I have the same issue but I'm not sure on how to implement the said fix, I'm using s3 serverless to deploy my application and react-snap is totally helping, so to give again the context, the pages (the private routes) return first as 404 and then it goes to the private routes when reloading since they are not included in the crawl. I have tried to put the 404.html as the Error document on the Bucket Hosting but not working.

I'm using:

"react-router-dom": "^5.2.0",
"react-snap": "^1.23.0",

Thank you in advance! I hope someone could help me.