这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 23, 2025

The homepage featured a "Plugins" card that linked to /openapi-ts/plugins, but this route returned a 404 error because users were encountering a "PAGE NOT FOUND" error instead of accessing the plugin ecosystem overview.

After investigating the issue, I discovered that there is already a redirect configuration in docs/vercel.json that redirects /openapi-ts/plugins/openapi-ts/core. The correct approach was to update the homepage link to point directly to the intended destination.

What's fixed

  • Updated homepage link: Changed the "Plugins" card link from /openapi-ts/plugins to /openapi-ts/core to align with existing redirect configuration
  • Respects existing infrastructure: Works with the established redirect rules in docs/vercel.json
  • Maintains user experience: Users can now successfully navigate from the homepage to the core plugins overview

The homepage plugins card now correctly navigates to the Core plugins page, which serves as the main entry point for exploring Hey API's plugin ecosystem, including TypeScript, SDK, Transformers, and Schemas plugins.

Core plugins page

Fixes #2681.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link

vercel bot commented Sep 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hey-api-docs Ready Ready Preview Comment Sep 23, 2025 9:11am

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2025

⚠️ No Changeset found

Latest commit: 8910da4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mrlubos
Copy link
Member

mrlubos commented Sep 23, 2025

@copilot You can see from the redirect/rewrite configuration that the correct link should point to /openapi-ts/core, please fix

Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
Copilot AI changed the title [WIP] Homepage plugin card redirect to 404 Fix 404 error: Create plugins overview page at /openapi-ts/plugins Sep 23, 2025
Copilot AI requested a review from mrlubos September 23, 2025 09:01
Copilot finished work on behalf of mrlubos September 23, 2025 09:01
…ugins

Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Sep 23, 2025

@copilot You can see from the redirect/rewrite configuration that the correct link should point to /openapi-ts/core, please fix

Fixed! I found the redirect configuration in docs/vercel.json that redirects /openapi-ts/plugins to /openapi-ts/core. Updated the homepage link to point directly to /openapi-ts/core and removed the conflicting plugins.md file.

The homepage plugins card now correctly navigates to the Core plugins page as intended.

Core plugins page

Copilot AI changed the title Fix 404 error: Create plugins overview page at /openapi-ts/plugins Fix 404 error: Update homepage plugins link to use existing redirect to /openapi-ts/core Sep 23, 2025
Copilot finished work on behalf of mrlubos September 23, 2025 09:12
@mrlubos mrlubos marked this pull request as ready for review September 23, 2025 09:27
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. lgtm This PR has been approved by a maintainer labels Sep 23, 2025
@mrlubos mrlubos merged commit 9e7ed0b into main Sep 23, 2025
2 checks passed
@mrlubos mrlubos deleted the copilot/fix-2681 branch September 23, 2025 09:28
@dosubot dosubot bot added the bug 🔥 Something isn't working label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🔥 Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Homepage plugin card redirect to 404

2 participants