summaryrefslogblamecommitdiff
path: root/src/router/redirects.ts
blob: 170f35ff6dedf21d37c4c704dd18491d95674f33 (plain) (tree)




















                                                   
                                       
                                                                                            

                 



                                              


                         
// 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://wiki.themanaworld.org/wiki/Downloads";
		}
	},
	{
		path: "/recover",
		redirect: { name: "support" },
	},
];

export default redirects;