add redirects for keymaster for those coming from search engines with old data.

This commit is contained in:
Starystars67
2026-06-17 12:33:50 +01:00
parent 6b584bdfbf
commit 847bcf9bac
4 changed files with 25 additions and 3 deletions
+16
View File
@@ -86,6 +86,22 @@ const baseRoutes = [
requiresAuth: false,
},
},
// Redirect route for old keymaster
{
path: 'keymaster',
redirect: (to) => {
window.location.replace('https://keymaster.beammp.com/')
return `/${to.params.locale || 'en'}`
},
},
{
path: 'k/dashboard',
redirect: (to) => {
window.location.replace('https://keymaster.beammp.com/')
return `/${to.params.locale || 'en'}`
},
},
]
const routes = [