9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-14 09:47:30 +00:00

🚀💪 Checkpoint

./server.js:933874/20
This commit is contained in:
Glitch (hello-express) 2019-11-05 08:54:58 +00:00
parent 52d5b92d34
commit cbfcea070d

View File

@ -27,7 +27,7 @@ app.get("/", (req, res) => {
app.get("/img", (req, res) => {
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
});