diff --git a/owe.js b/owe.js index 184a451..b5cfbd3 100644 --- a/owe.js +++ b/owe.js @@ -42,7 +42,7 @@ function loadSentences(alertIfNew = false, increaseUnread = true) { } function loadConfig() { - fetch("./data/config.json").then((response) => { + fetch("./data/config.json", {headers: {"Cache-Control": "no-cache, no-store"}}).then((response) => { return response.text().then((text) => { config_data = JSON.parse(text); setInterval(loadSentences, 5000, ((typeof config_data.notifications !== "undefined") ? config_data.notifications : true));