mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-22 21:47:29 +00:00
🐂🏹 Checkpoint
./server.js:933874/180
This commit is contained in:
parent
d91c2cc4a7
commit
52d5b92d34
@ -27,9 +27,9 @@ 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
|
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) => {
|
app.get("/api", (req, res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user