mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-26 07:27:30 +00:00
🚀💪 Checkpoint
./server.js:933874/20
This commit is contained in:
parent
52d5b92d34
commit
cbfcea070d
@ -27,7 +27,7 @@ app.get("/", (req, res) => {
|
|||||||
|
|
||||||
app.get("/img", (req, res) => {
|
app.get("/img", (req, res) => {
|
||||||
if (fuzIsOpen && new Date() - closingTimeout < lastSeen) {
|
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
|
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
|
||||||
}
|
}
|
||||||
res.sendFile(__dirname + "/views/closed.svg"); // https://www.flaticon.com/free-icon/closed_1234190, maybe try https://flaticons.net/customize.php?dir=Miscellaneous&icon=Closed.png without attribution
|
res.sendFile(__dirname + "/views/closed.svg"); // https://www.flaticon.com/free-icon/closed_1234190, maybe try https://flaticons.net/customize.php?dir=Miscellaneous&icon=Closed.png without attribution
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user