From 032222152904efc41356ee7a4331ddfd12aca4cb Mon Sep 17 00:00:00 2001 From: Starystars67 Date: Mon, 13 Apr 2026 09:52:01 +0100 Subject: [PATCH] Move back to local served installer --- package.json | 2 +- src/views/Home.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4179397..4b576dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "beammp-website", "private": true, - "version": "2.4.16", + "version": "2.4.17", "type": "module", "scripts": { "dev": "vite", diff --git a/src/views/Home.vue b/src/views/Home.vue index 07ee60e..37f8bea 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -25,13 +25,13 @@ const isLoading = ref(true) const heroImageLoaded = ref(false) const heroImageSrc = ref(landingLq) const installerDownloadUrl = computed(() => { - //const base = import.meta.env.BASE_URL || '/' - /*if (base === './') { + const base = import.meta.env.BASE_URL || '/' + if (base === './') { return '/installer/BeamMP_Installer.exe' } return `${base.replace(/\/$/, '')}/installer/BeamMP_Installer.exe` - */ - return 'https://github.com/BeamMP/BeamMP-Launcher/releases/download/v2.8.0/BeamMP_Installer.exe' + + //return 'https://github.com/BeamMP/BeamMP-Launcher/releases/download/v2.8.0/BeamMP_Installer.exe' }) onMounted(async () => {