luomus / iratebirds

A web app for rating the appearance of birds
https://iratebirds.app
1 stars 1 forks source link

Can't use back button on {lang}/what or refresh on {lang}/go pages #8

Closed wkmor1 closed 4 years ago

wkmor1 commented 4 years ago

This only seems to be a problem on the live version. Doesn't happen when you run the app locally.

vixriihi commented 4 years ago

nginx should be configured so that all requests (other than api) point to index.html :)

wkmor1 commented 4 years ago

Hmm I wonder if that is possible with netllfy?

wkmor1 commented 4 years ago

Perhaps this is what we need? https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file