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.
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 tryusername.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.