AlexxNB / tinro

Highly declarative, tiny, dependency free router for Svelte's web applications.
MIT License
673 stars 30 forks source link

Error 404 in case of initial route #22

Closed ssergdev closed 4 years ago

ssergdev commented 4 years ago

I'm getting a HTTP 404 error while the app is initialized on some valid route path.

 "svelte": "3.0.0",
 "tinro": "0.3.3"

https://github.com/ssergdev/svelte-scss-router

AlexxNB commented 4 years ago

In case of history API (default for tinro) you need setup your server to point all URLs to index.html file. For more info read here.