mirror of
https://api.glitch.com/git/presence-button
synced 2024-11-05 06:47:29 +00:00
📍🏜 Checkpoint
./server.js:933874/1
This commit is contained in:
parent
13859b2965
commit
30cf83b999
@ -56,7 +56,7 @@ app.get("/status", (req, res) => {
|
||||
res.set("WWW-Authenticate", 'Basic realm="Authentication required"');
|
||||
return res.status(401).send("Authentication required.");
|
||||
}
|
||||
fuzIsOpen = req.query.fuzisopen == "1";
|
||||
fuzIsOpen = req.query.fuzisopen === "1";
|
||||
lastSeen = new Date();
|
||||
try {
|
||||
fs.writeFileSync(db, JSON.stringify({ fuzIsOpen, lastSeen }));
|
||||
|
Loading…
Reference in New Issue
Block a user