summaryrefslogtreecommitdiff
path: root/src/router/redirects.ts
blob: 241abe60bb22c5966feb71d388d3f2b258e775c6 (plain) (blame)
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
// legacy paths from the PHP website

const redirects = [
	{
		path: "/index.php",
		redirect: { name: "home" },
	},
	{
		path: "/news-feed.php",
		redirect: { name: "news" },
	},
	{
		path: "/about.php",
		redirect: { name: "about" },
	},
	{
		path: "/registration.php",
		redirect: { name: "registration" },
	},
	{
		path: "/downloads.php",
		redirect: (): void => {
			self.location.href = "https://manaplus.themanaworld.org/";
		}
	},
	{
		path: "/recover",
		redirect: { name: "support" },
	},
];

export default redirects;