We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to join path for the router (which is using path-to-regexp).
const path = properUrlJoin('some-path', '/:id?/:subnav?/:step?', { trailingSlash: true, queryOptions: { encode: false, }, })
expected output should be
/some-path/:id?/:subnav?/:step?/
but it results to
/flow/:id/?/:subnav?/:step?
The text was updated successfully, but these errors were encountered:
I guess that’s because ? has a special meaning in the url. It’s being interpreted as a query string.
Sorry, something went wrong.
No branches or pull requests
I am trying to join path for the router (which is using path-to-regexp).
expected output should be
but it results to
The text was updated successfully, but these errors were encountered: