From 58932c2d984ce2ca767d48be76d75664c660cabe Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sun, 30 Jul 2023 14:54:56 +0530 Subject: Simplify auto_refresh.js That was the default value of that parameter anyway. --- static/scripts/auto_refresh.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'static') diff --git a/static/scripts/auto_refresh.js b/static/scripts/auto_refresh.js index dd2bd1d..20fc5c6 100644 --- a/static/scripts/auto_refresh.js +++ b/static/scripts/auto_refresh.js @@ -1,9 +1,7 @@ (() => { const UPDATE_INTERVAL_MILLISECONDS = 1 * 60 * 1000; // 1 minute setInterval(async () => { - const response = await fetch(window.location, { - credentials: "same-origin", - }); + const response = await fetch(window.location); if (!response.ok) { return; } -- cgit v1.2.3-57-g22cb