Always pull from stable for update checks

This commit is contained in:
Ethan O'Brien 2024-12-28 21:18:11 -08:00
parent 3acb06a0f0
commit be29680d57

View File

@ -178,7 +178,7 @@ class EmulatorJS {
console.warn("Using EmulatorJS beta. Not checking for updates. This instance may be out of date. Using stable is highly recommended unless you build and ship your own cores.");
return;
}
fetch(`https://cdn.emulatorjs.org/${this.ejs_version}/data/version.json`).then(response => {
fetch("https://cdn.emulatorjs.org/stable/data/version.json").then(response => {
if (response.ok) {
response.text().then(body => {
let version = JSON.parse(body);