server hardening + deperation to tget the installer served

This commit is contained in:
Starystars67
2026-04-02 02:42:55 +01:00
parent 4626a69185
commit a253919575
2 changed files with 28 additions and 3 deletions
+7 -1
View File
@@ -24,7 +24,13 @@ const totalServers = ref('...')
const isLoading = ref(true)
const heroImageLoaded = ref(false)
const heroImageSrc = ref(landingLq)
const installerDownloadUrl = `${import.meta.env.BASE_URL}installer/BeamMP_Installer.msi`
const installerDownloadUrl = computed(() => {
const base = import.meta.env.BASE_URL || '/'
if (base === './') {
return '/installer/BeamMP_Installer.msi'
}
return `${base.replace(/\/$/, '')}/installer/BeamMP_Installer.msi`
})
onMounted(async () => {
try {