aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}