Move redirect to in-app-shortlinks#223
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR moves a redirect for /migrate-from-hardhat2 from the next-to-starlight.ts file to the in-app-shortlinks.ts file. This change is needed because the redirect is being used within Hardhat itself (referenced in PR #7991), and according to the codebase's redirect organization conventions, redirects used by Hardhat or its plugins should be placed in in-app-shortlinks.ts to ensure backward compatibility with older versions.
Changes:
- Moved the
/migrate-from-hardhat2redirect fromnext-to-starlight.tstoin-app-shortlinks.ts
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/redirects/next-to-starlight.ts | Removed the /migrate-from-hardhat2 redirect entry |
| src/redirects/in-app-shortlinks.ts | Added the /migrate-from-hardhat2 redirect entry |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This just moves a redirect to the in-app-shortlinks because it's used in this PR: NomicFoundation/hardhat#7991