9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-25 23:17:29 +00:00

🐂🏹 Checkpoint

./server.js:933874/180
This commit is contained in:
Glitch (hello-express) 2019-11-05 08:42:57 +00:00
parent d91c2cc4a7
commit 52d5b92d34

View File

@ -27,9 +27,9 @@ 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
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
}
res.sendFile(__dirname + "/views/closed.svg"); // https://www.flaticon.com/free-icon/closed_1234190
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
});
app.get("/api", (req, res) => {