make cloudflare happy

This commit is contained in:
moehreag 2024-06-07 17:15:30 +02:00
parent 6ac4e310ca
commit a54b219c9f

View file

@ -22,13 +22,13 @@ lastUpdated: false
} }
getGameVersions().then((v) => { getGameVersions().then((v) => {
versionSelector.value.innerHTML = "" //versionSelector.value.innerHTML = ""
const versions = ref(v.versions) //const versions = ref(v.versions)
for (let version of v.versions){ //for (let version of v.versions){
if ((version.type === "snapshot") == showSnapshots.value){ // if ((version.type === "snapshot") == showSnapshots.value){
versionSelector.value.innerHTML += "\n<option value=\""+version.id+"\">"+version.id+"</option>" // versionSelector.value.innerHTML += "\n<option value=\""+version.id+"\">"+version.id+"</option>"
} // }
} //}
}) })
</script> </script>