diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-07-30 09:24:56 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-07-30 09:24:56 +0000 |
commit | 58932c2d984ce2ca767d48be76d75664c660cabe (patch) | |
tree | 88772be0affbc7b00ffb65ae5465ea3c556f0cde | |
parent | ada68d54884cb8ce609d35461bf2ddf3fbcaa120 (diff) | |
download | tagrss-58932c2d984ce2ca767d48be76d75664c660cabe.tar tagrss-58932c2d984ce2ca767d48be76d75664c660cabe.tar.gz tagrss-58932c2d984ce2ca767d48be76d75664c660cabe.zip |
Simplify auto_refresh.js
That was the default value of that parameter anyway.
-rw-r--r-- | static/scripts/auto_refresh.js | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |