🏓👨‍❤️‍💋‍👨 Checkpoint

./server.js:933874/714
This commit is contained in:
Glitch (hello-express) 2019-11-10 23:24:10 +00:00
parent d06a2675b6
commit 25cc30b57f
1 changed files with 3 additions and 0 deletions

View File

@ -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
}