Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirect for graphql-js #1798

Merged
merged 3 commits into from
Jan 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,60 @@
{
"redirects": [
{
"source": "/graphql-js",
"destination": "https://graphql-js.org",
"permanent": true
},
{
"source": "/graphql-js/getting-started",
"destination": "https://graphql-js.org",
"permanent": true
},
{
"source": "/graphql-js/graphql",
"destination": "https://graphql-js.org/api-v16/graphql",
"permanent": true
},
{
"source": "/graphql-js/error",
"destination": "https://graphql-js.org/api-v16/error",
"permanent": true
},
{
"source": "/graphql-js/execution",
"destination": "https://graphql-js.org/api-v16/execution",
"permanent": true
},
{
"source": "/graphql-js/language",
"destination": "https://graphql-js.org/api-v16/language",
"permanent": true
},
{
"source": "/graphql-js/type",
"destination": "https://graphql-js.org/api-v16/type",
"permanent": true
},
{
"source": "/graphql-js/utilities",
"destination": "https://graphql-js.org/api-v16/utilities",
"permanent": true
},
{
"source": "/graphql-js/validation",
"destination": "https://graphql-js.org/api-v16/validation",
"permanent": true
},
{
"source": "/graphql-js/graphql-http",
"destination": "https://graphql-js.org/api-v16/graphql-http",
"permanent": true
},
Comment on lines +48 to +52
Copy link
Member

Choose a reason for hiding this comment

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

Is this the right place for graphql-http documentation?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure honestly, I'm not sure it belongs in graphql-js even 😅

{
"source": "/graphql-js/:path*",
"destination": "https://graphql-js.org/:path*",
"permanent": true
},
{
"source": "/conf/attendee/:path*",
"destination": "https://graphql-conf-attendee-nextjs.vercel.app/:path*",
Expand Down
Loading