spa-github-pages icon indicating copy to clipboard operation
spa-github-pages copied to clipboard

Shows a blank page on a route with a path of 2 hashes or more

Open Hervera opened this issue 2 years ago • 0 comments

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.

Hervera avatar Oct 04 '22 13:10 Hervera