Skip to content

fix: correct redirectLocation path resolution#682

Merged
danielroe merged 1 commit intonuxt:mainfrom
AndreyYolkin:fix-resolve-navigated-route
Jan 10, 2023
Merged

fix: correct redirectLocation path resolution#682
danielroe merged 1 commit intonuxt:mainfrom
AndreyYolkin:fix-resolve-navigated-route

Conversation

@AndreyYolkin
Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Resolves #681

Quite funny moment: tests was working, because they tested redirect to / location, which was the fallback. I've updated the tests to check non-fallback page. I guess we need more to cover.

📝 Checklist

  • I have linked an issue or discussion.

Copy link
Copy Markdown
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

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

Thank you! ❤️

@danielroe danielroe changed the title fix: correct redirectLocation path resolution fix: correct redirectLocation path resolution Jan 10, 2023
@danielroe danielroe merged commit 9247608 into nuxt:main Jan 10, 2023
@danielroe danielroe mentioned this pull request Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

navigateTo always redirects to the '/'

2 participants