mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-12-01 02:04:40 +00:00
add redirects for keymaster for those coming from search engines with old data.
This commit is contained in:
1 parent
6b584bdfbf
commit
847bcf9bac
4 files changed
+25
-3
No files matched your search
@@ -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 = [
|
||||
|
||||
Reference in new issue
Block a user