The sysadmin on our team needs to deploy our app to a subdirectory of the root url, rather than a subdomain (as I've always done it in the past).
I found various guides on how to do this with react-router, but nothing for this package.
Is there a straightforward way to do this? And if not...is there a roundabout way? ;)
Thanks!
I would suggest trying
const history = createBrowserHistory({ basename: '/folder/blah' });
Thanks brother @Ciaran0 it working with this
const history = createBrowserHistory({ basename: '/folder/blah' });
A bit of a late reply, sorry about that -- but thank you @Ciaran0!
Most helpful comment
Thanks brother @Ciaran0 it working with this