aboutsummaryrefslogtreecommitdiff
path: root/static/scripts
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2023-07-30 09:24:56 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2023-07-30 09:24:56 +0000
commit58932c2d984ce2ca767d48be76d75664c660cabe (patch)
tree88772be0affbc7b00ffb65ae5465ea3c556f0cde /static/scripts
parentada68d54884cb8ce609d35461bf2ddf3fbcaa120 (diff)
downloadtagrss-58932c2d984ce2ca767d48be76d75664c660cabe.tar
tagrss-58932c2d984ce2ca767d48be76d75664c660cabe.tar.gz
tagrss-58932c2d984ce2ca767d48be76d75664c660cabe.zip
Simplify auto_refresh.js
That was the default value of that parameter anyway.
Diffstat (limited to 'static/scripts')
-rw-r--r--static/scripts/auto_refresh.js4
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;
}