spa-github-pages
spa-github-pages copied to clipboard
Shows a blank page on a route with a path of 2 hashes or more
Everything works well with any route that has one path username.github.io/repo/:any
but when It comes to a route with a path of more than one slash like /users/account
, /admin/profile
or /:any/:any/:any,
the app shows a blank page. You can try username.github.io/repo/:any/:any/:any
to reproduce the error on many react apps deployed on gh-pages. The screen is blank and the console shows a 404 error.