hookrouter icon indicating copy to clipboard operation
hookrouter copied to clipboard

Direct navigation doesn't seem to work with GH Pages

Open matneyx opened this issue 5 years ago • 1 comments

Steps to reproduce: Navigate to https://matneyx.github.io/MimicsAndXorn/home

Expected result: Render the page as if you selected the Home link from https://matneyx.github.io/MimicsAndXorn/

Actual result: 404 error

useRoutes implementation is here: https://github.com/matneyx/MimicsAndXorn/blob/main/src/App.js#L19 Routes are defined here: https://github.com/matneyx/MimicsAndXorn/blob/main/src/common/NavigationProvider.js#L96

matneyx avatar Nov 25 '20 17:11 matneyx

I'm experiencing this issue as well. Even when using base path, the only route that works is root, aka /

Seanmclem avatar Jan 16 '21 21:01 Seanmclem