Skip to content

Commit 4c8343e

Browse files
authored
Add redirect for graphql-js (#1798)
1 parent ba7af37 commit 4c8343e

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

vercel.json

+55
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
{
22
"redirects": [
3+
{
4+
"source": "/graphql-js",
5+
"destination": "https://graphql-js.org",
6+
"permanent": true
7+
},
8+
{
9+
"source": "/graphql-js/getting-started",
10+
"destination": "https://graphql-js.org",
11+
"permanent": true
12+
},
13+
{
14+
"source": "/graphql-js/graphql",
15+
"destination": "https://graphql-js.org/api-v16/graphql",
16+
"permanent": true
17+
},
18+
{
19+
"source": "/graphql-js/error",
20+
"destination": "https://graphql-js.org/api-v16/error",
21+
"permanent": true
22+
},
23+
{
24+
"source": "/graphql-js/execution",
25+
"destination": "https://graphql-js.org/api-v16/execution",
26+
"permanent": true
27+
},
28+
{
29+
"source": "/graphql-js/language",
30+
"destination": "https://graphql-js.org/api-v16/language",
31+
"permanent": true
32+
},
33+
{
34+
"source": "/graphql-js/type",
35+
"destination": "https://graphql-js.org/api-v16/type",
36+
"permanent": true
37+
},
38+
{
39+
"source": "/graphql-js/utilities",
40+
"destination": "https://graphql-js.org/api-v16/utilities",
41+
"permanent": true
42+
},
43+
{
44+
"source": "/graphql-js/validation",
45+
"destination": "https://graphql-js.org/api-v16/validation",
46+
"permanent": true
47+
},
48+
{
49+
"source": "/graphql-js/graphql-http",
50+
"destination": "https://graphql-js.org/api-v16/graphql-http",
51+
"permanent": true
52+
},
53+
{
54+
"source": "/graphql-js/:path*",
55+
"destination": "https://graphql-js.org/:path*",
56+
"permanent": true
57+
},
358
{
459
"source": "/conf/attendee/:path*",
560
"destination": "https://graphql-conf-attendee-nextjs.vercel.app/:path*",

0 commit comments

Comments
 (0)