mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-25 23:17:29 +00:00
🏓👨❤️💋👨 Checkpoint
./server.js:933874/714
This commit is contained in:
parent
d06a2675b6
commit
25cc30b57f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user