You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if other static site servers / platforms are all like that, but if we deploy this to Netlify we can only navigate from index.html to other pages using Links, once your refresh or type a URL directly in the address bar we'll get 404
In order to get History push state to work we need to add this re-write rule:
/* /index.html 200
which can be in a file for Netlify in the repo root.
Can we add this directly? as I can see Netlify support is welcome in the Preact repo.
Swordys, xkcoding, harveyramer, michaelzoidl, ahmadawais and 5 more