diff --git a/src/main.js b/src/main.js index 877592d..45c41f9 100644 --- a/src/main.js +++ b/src/main.js @@ -125,7 +125,7 @@ async function detectGateway() { const timeoutId = setTimeout(() => controller.abort(), 1500); try { await fetch(url, { - method: "HEAD", + method: "GET", mode: "no-cors", cache: "no-store", signal: controller.signal, @@ -240,7 +240,7 @@ async function measureLatency(url) { try { await fetch(targetUrl.toString(), { - method: "HEAD", + method: "GET", mode: "no-cors", cache: "no-store", signal: controller.signal,