Reloading subpage for react webapp hosted on s3 gives 404 error.

0

When I try to reload subpage of my Webapp(React.js) hosted on s3 gives me 404 error. The homepage works fine.

已提問 1 年前檢視次數 1229 次
1 個回答
0

Hello,

setting the errorpage to Index.html should solve the problem.

Or if you use a cloudfront origin infront of your s3-website/bucket configuring http error 404 to response page path /index.html should solve it too.

profile picture
HeikoMR
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南