Skip to content

Is it possible to get pathname relative to basename ? #8068

Closed Answered by mjackson
p-l-l asked this question in Q&A
Discussion options

You must be logged in to vote

This was fixed in v6.0.0-beta.5 (see the release notes). The basename is now stripped from location.pathname in useLocation().

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tisonkun
Comment options

Answer selected by mjackson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants