-
Notifications
You must be signed in to change notification settings - Fork 363
/
redirects.js
120 lines (118 loc) · 2.51 KB
/
redirects.js
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
110
111
112
113
114
115
116
117
118
119
120
const redirects = [
{
source: "/reference/s",
destination: "/reference/templates",
permanent: true,
},
{
source: "/getting-started",
destination: "/quick-start",
permanent: true,
},
{
source: "/develop/:slug*",
destination: "/guides/:slug*",
permanent: true,
},
{
source: "/deploy/exposing-your-app",
destination: "/guides/public-networking",
permanent: true,
},
{
source: "/deploy/logging",
destination: "/guides/logs",
permanent: true,
},
{
source: "/deploy/deploy-on-railway-button",
destination: "/guides/templates",
permanent: true,
},
{
source: "/deploy/healthchecks",
destination: "/reference/healthchecks",
permanent: true,
},
{
source: "/deploy/integrations",
destination: "/reference/integrations",
permanent: true,
},
{
source: "/deploy/railway-up",
destination: "/guides/services",
permanent: true,
},
{
source: "/deploy/:slug*",
destination: "/guides/:slug*",
permanent: true,
},
{
source: "/databases/bring-your-own-database",
destination: "/guides/build-a-database-service",
permanent: true,
},
{
source: "/databases/:slug*",
destination: "/guides/:slug*",
permanent: true,
},
{
source: "/diagnose/project-usage",
destination: "/reference/project-usage",
permanent: true,
},
{
source: "/diagnose/:slug*",
destination: "/guides/:slug*",
permanent: true,
},
{
source: "/guides/migrate-from-heroku",
destination: "/tutorials/migrate-from-heroku",
permanent: true,
},
{
source: "/reference/compare-to-heroku",
destination: "/maturity/compare-to-heroku",
permanent: true,
},
{
source: "/troubleshoot/fixing-common-errors",
destination: "/guides/fixing-common-errors",
permanent: true,
},
{
source: "/reference/guides",
destination: "/tutorials/getting-started",
permanent: true,
},
{
source: "/reference/pricing",
destination: "/reference/pricing/plans",
permanent: true,
},
{
source: "/guides/fixing-common-errors",
destination: "/reference/errors",
permanent: true,
},
];
const hashRedirects = [
{
source: "#application-failed-to-respond",
destination: "/reference/errors/application-failed-to-respond",
permanent: true,
},
{
source: "#post-requests-turn-into-get-requests",
destination: "/reference/errors/405-method-not-allowed",
permanent: true,
},
];
module.exports = {
redirects,
hashRedirects,
};