diff --git a/ESP32_AP-Flasher/data/www/ota.js.gz b/ESP32_AP-Flasher/data/www/ota.js.gz index 5fe1d66e..9b1819ff 100644 Binary files a/ESP32_AP-Flasher/data/www/ota.js.gz and b/ESP32_AP-Flasher/data/www/ota.js.gz differ diff --git a/ESP32_AP-Flasher/wwwroot/ota.js b/ESP32_AP-Flasher/wwwroot/ota.js index af40f7f7..9372bc2c 100644 --- a/ESP32_AP-Flasher/wwwroot/ota.js +++ b/ESP32_AP-Flasher/wwwroot/ota.js @@ -152,7 +152,7 @@ export async function updateWebpage(fileUrl, tagname, showReload) { print("Updating littleFS partition..."); - fetch("/getexturl?url=" + fileUrl) + fetch("https://openepaperlink.eu/getupdate/?url=" + fileUrl) .then(response => response.json()) .then(data => { checkfiles(data); @@ -256,7 +256,7 @@ export async function updateESP(fileUrl, showConfirm) { while (retryCount < maxRetries) { try { - const response = await fetch("/getexturl?url=" + fileUrl); + const response = await fetch("https://openepaperlink.eu/getupdate/?url=" + fileUrl); const responseBody = await response.text(); if (!response.ok) { throw new Error("Network response was not OK: " + responseBody);