In a create-react-app application, setting my homepage in package.json gives me what I expect. I set it to: homepage: '/someUrl' and in my app, if my URL is localhost:3000/someUrl/another, and I refresh, it goes there without issue.
In my non create-react-app application (it's still a react project, just started from scratch), if I navigate to localhost:3000/someUrl/another by normal means I get the page, but then if I hit refresh I get a white page with:
Cannot GET /someUrl/another
Has anyone come across this? I'm trying to figure out what setting "homepage" in create-react-app does exactly so that I can duplicate this in my non CRA react app.
Thank you for any help, Chris