diff --git a/www/include/worker.js b/www/include/worker.js index 02a21bc..35ed4a8 100644 --- a/www/include/worker.js +++ b/www/include/worker.js @@ -168,9 +168,11 @@ async function checkOnline(thisUrl, thisId) { //reads all tiles from settings and sets their respective indicators to green const options = { method: 'GET', - mode: 'no-cors' + mode: 'no-cors', + connection: 'close' }; + const response = await fetch(thisUrl,options); if (response.status = 200) { thisId.className = thisId.className.replace(/dot(?!\S)/g, 'dot dot-green');