mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-05-18 23:50:17 +00:00
Move back to local served installer
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "beammp-website",
|
||||
"private": true,
|
||||
"version": "2.4.16",
|
||||
"version": "2.4.17",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
+4
-4
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user