Conversation
WalkthroughThis change adds conditional trailing-slash formatting support for localized path generation in the matching logic. It introduces new utility imports from 'ufo' (withTrailingSlash, withoutTrailingSlash) and a formatter constant that toggles based on the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Failure to add the new IP will result in interrupted reviews. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔗 Linked issue
📚 Description
Resolves an issue when visiting:
example.comit redirects toexample.com/enwhile it should redirect toexample.com/en/It doesn't respect the
trailingSlashoption which is breaking change from v9 to v10.I don't know where to push the test file as
trailingSlashoption isn't a runtime config anymore.Summary by CodeRabbit