mirror of
https://api.glitch.com/git/presence-button
synced 2024-11-05 10:27: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