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.

posta un anno fa1229 visualizzazioni
1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande