Skip to content

Conversation

@nayukata
Copy link
Contributor

@nayukata nayukata commented Dec 16, 2024

Types of changes

  • Bug fixes
  • Features
  • Maintenance
  • Documentation

resolves Support for Next.js parallel routes #XXX

Changes

Added support for Next.js parallel routes by excluding @ segments from URL paths.
Next.jsのパラレルルートに対応し、URLパスから@セグメントを除外するように変更

Additional context

[ja]
Next.jsのパラレルルート(例:@modal, @auth)がURLパスに含まれてしまう問題を修正しました。
例えば、domain/@modal/modal-aのようなパスがdomain/modal-aとして正しく出力されるようになります。

[en]
Fixed an issue where Next.js parallel route segments (e.g., @modal, @auth) were incorrectly included in URL paths.
For example, paths like domain/@modal/modal-a will now correctly output as domain/modal-a.

Reference: See Parallel Routes documentation: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes

Community note

Please upvote with reacting as 👍 to express your agreement.

@nayukata nayukata changed the title fix: update URL generation to handle parallel routes correctly Exclude parallel route segments (@) from URL paths Dec 16, 2024
Copy link
Member

@solufa solufa left a comment

Choose a reason for hiding this comment

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

LGTM

@solufa solufa merged commit 84267b5 into aspida:main Dec 18, 2024
5 checks passed
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.

2 participants