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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则