mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-07-18 04:33:52 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 847bcf9bac | |||
| 6b584bdfbf |
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
<link rel="icon" type="image/ico+xml" href="/favicon.ico" />
|
<link rel="icon" type="image/ico+xml" href="/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>BeamMP Website</title>
|
<title>BeamMP Website</title>
|
||||||
<script defer src="https://analytics.beammp.com/script.js" data-website-id="9f9e912d-3470-4048-9f11-5dd360b701e7"></script>
|
<script defer src="https://analytics.beammp.com/script.js" data-website-id="9f9e912d-3470-4048-9f11-5dd360b701e7" data-performance="true"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -39,6 +39,12 @@ server {
|
|||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Legacy Keymaster paths moved permanently to the dedicated domain.
|
||||||
|
# Match both localized and non-localized URLs.
|
||||||
|
location ~* ^/(?:[a-z]{2}/)?(?:keymaster|k/dashboard)/?$ {
|
||||||
|
return 301 https://keymaster.beammp.com/;
|
||||||
|
}
|
||||||
|
|
||||||
# SPA fallback: all other paths go to index.html so Vue Router can render the
|
# SPA fallback: all other paths go to index.html so Vue Router can render the
|
||||||
# correct view (including the NotFound page for unknown routes).
|
# correct view (including the NotFound page for unknown routes).
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "beammp-website",
|
"name": "beammp-website",
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "beammp-website",
|
"name": "beammp-website",
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.20",
|
"@tailwindcss/typography": "^0.5.20",
|
||||||
"@tailwindcss/vite": "^4.1.17",
|
"@tailwindcss/vite": "^4.1.17",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "beammp-website",
|
"name": "beammp-website",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -86,6 +86,22 @@ const baseRoutes = [
|
|||||||
requiresAuth: false,
|
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 = [
|
const routes = [
|
||||||
|
|||||||
Reference in New Issue
Block a user