From ca33c43767585a8812c051b22dab30b111ece6d4 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Wed, 18 Jan 2023 13:46:02 +0100 Subject: [PATCH] e --- js/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ajax.js b/js/ajax.js index d9705db..bc759b5 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -41,7 +41,7 @@ const controller = new AbortController() const timeoutId = setTimeout(() => controller.abort(), 5000) -fetch('https://t0m0t0w.github.io/backuprr/history.dat', { cache: "no-store", signal: controller.signal }).then(response => { +fetch('https://t0m0t0w.github.io/backuprr/history.dat', { cache: "no-store", signal: "controller.signal" }).then(response => { // completed request before timeout fired // If you only wanted to timeout the request, not the response, add: