mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Update preload.js
This commit is contained in:
parent
a62ae4e21e
commit
7bf6c1bb23
@ -14,7 +14,7 @@ const { Octokit } = require('octokit');
|
||||
const VERSION = "{{OLYMPUS_VERSION_NUMBER}}";
|
||||
function checkVersion() {
|
||||
/* Check if we are running the latest version */
|
||||
const request = new Request("https://raw.githubusercontent.com/Pax1601/DCSOlympus/release-candidate/version.json");
|
||||
const request = new Request("https://raw.githubusercontent.com/Pax1601/DCSOlympus/main/version.json");
|
||||
fetch(request).then((response) => {
|
||||
if (response.status === 200) {
|
||||
return response.json();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user