Skip to content
New issue

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

Clarify whether router.pathname includes basePath #24675

Merged
merged 2 commits into from
May 1, 2021

Conversation

tremby
Copy link
Contributor

@tremby tremby commented Apr 30, 2021

The docs were vague on this -- router.asPath mentions that it doesn't include basePath but router.pathname didn't say either way.

Documentation / Examples

  • Make sure the linting passes: I haven't checked; I presume you have a CI bot for this.

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@kodiakhq kodiakhq bot merged commit a77f384 into vercel:canary May 1, 2021
flybayer pushed a commit to blitz-js/next.js that referenced this pull request Jun 1, 2021
The docs were vague on this -- `router.asPath` mentions that it doesn't include `basePath` but `router.pathname` didn't say either way.

## Documentation / Examples

- [ ] Make sure the linting passes: I haven't checked; I presume you have a CI bot for this.
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants