-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathredirects.config.mjs
More file actions
109 lines (106 loc) · 2.33 KB
/
Copy pathredirects.config.mjs
File metadata and controls
109 lines (106 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
export const redirects = [
// Runtime
{
source: '/ecosystem/wasmer',
destination: '/runtime',
permanent: true,
},
{
source: '/ecosystem/wasmer/getting-started',
destination: '/runtime/get-started',
permanent: true,
},
{
source: '/ecosystem/wasmer/usage',
destination: '/runtime/cli',
permanent: true,
},
{
source: '/ecosystem/wasmer/wasmer-features',
destination: '/runtime/features',
permanent: true,
},
{
source: '/runtime/runners/wasix',
destination: '/runtime/wasix',
permanent: true,
},
{
source: '/ecosystem/wasmer/building-from-source',
destination: '/developers/build-from-source',
permanent: true,
},
{
source: '/ecosystem/wasmer/building-from-source/testing',
destination: '/developers/testing',
permanent: true,
},
// Registry
{
source: '/ecosystem/wapm',
destination: '/registry',
permanent: true,
},
{
source: '/ecosystem/wapm/getting-started',
destination: '/registry/get-started',
permanent: true,
},
{
source: '/ecosystem/wapm/publishing-your-package',
destination: '/registry/get-started',
permanent: true,
},
{
source: '/ecosystem/wapm/manifest',
destination: '/registry/manifest',
permanent: true,
},
{
source: '/ecosystem/wapm/graphql-api',
destination: '/developers/graphql-api',
permanent: true,
},
// Deprecated
{
source: '/developers/build-from-source',
destination: 'https://github.com/wasmerio/wasmer/blob/main/docs/BUILD.md',
permanent: true,
},
{
source: '/developers/testing',
destination: 'https://github.com/wasmerio/wasmer/blob/main/docs/TEST.md',
permanent: true,
},
{
source: '/developers/graphql-api',
destination: '/graphql-api',
permanent: true,
},
{
source: '/registry/search',
destination: '/registry/discover',
permanent: true,
},
{
source: '/javascript-sdk',
destination: '/sdk/wasmer-js',
permanent: true,
},
{
source: '/javascript-sdk/:path*',
destination: '/sdk/wasmer-js/:path*',
permanent: true,
},
{
source: '/edge/tutorials/:path*',
destination: '/edge/guides/:path*',
permanent: true,
},
{
source: '/edge/quickstart/:path*',
destination: '/edge/guides/:path*',
permanent: true,
},
]
export default redirects