From 25cc30b57f70db09392ddf52fa535e98ff2e1474 Mon Sep 17 00:00:00 2001 From: "Glitch (hello-express)" Date: Sun, 10 Nov 2019 23:24:10 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=93=F0=9F=91=A8=E2=80=8D=E2=9D=A4?= =?UTF-8?q?=EF=B8=8F=E2=80=8D=F0=9F=92=8B=E2=80=8D=F0=9F=91=A8=20Checkpoin?= =?UTF-8?q?t=20./server.js:933874/714?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.js b/server.js index 50e2472..1bea60d 100644 --- a/server.js +++ b/server.js @@ -26,6 +26,9 @@ app.get("/", (req, res) => { }); app.get("/img", (req, res) => { + res.header("Cache-Control", "no-store, no-cache, must-revalidate, proxy-revalidate"); + res.header("Pragma", "no-cache"); + res.header("Expires", "0"); if (fuzIsOpen && new Date() - closingTimeout < lastSeen) { return res.sendFile(__dirname + "/views/open.svg"); // https://www.flaticon.com/free-icon/open_1234189, maybe try https://flaticons.net/customize.php?dir=Miscellaneous&icon=Open.png without attribution }