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.

feita há um ano1229 visualizações
1 Resposta
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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas