From dedd978c0dacbd0f844a6880e91d0eb20bed9172 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Sun, 20 Oct 2024 08:57:38 +0200 Subject: [PATCH 1/3] Add redirect for graphql-js --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vercel.json b/vercel.json index 768af2093b..675995adc6 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,10 @@ { "redirects": [ + { + "source": "/graphql-js", + "destination": "https://graphql-js.org", + "permanent": true + }, { "source": "/conf/attendee/:path*", "destination": "https://graphql-conf-attendee-nextjs.vercel.app/:path*", From 3b1f717c99adfd9650782922005bcfb4837d87ae Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Wed, 15 Jan 2025 16:52:11 +0100 Subject: [PATCH 2/3] Add new redirect for graphql-js paths --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vercel.json b/vercel.json index 675995adc6..9aca002e50 100644 --- a/vercel.json +++ b/vercel.json @@ -5,6 +5,11 @@ "destination": "https://graphql-js.org", "permanent": true }, + { + "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*", From c5c5fc079fa4ba43216a2fd0e5acb3f17cf0759d Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Wed, 15 Jan 2025 17:33:40 +0100 Subject: [PATCH 3/3] Add multiple redirects to vercel.json --- vercel.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/vercel.json b/vercel.json index 9aca002e50..ff61a0232c 100644 --- a/vercel.json +++ b/vercel.json @@ -5,6 +5,51 @@ "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 + }, { "source": "/graphql-js/:path*", "destination": "https://graphql-js.org/:path*",