1
0
mirror of https://api.glitch.com/git/presence-button synced 2024-11-05 10:57:30 +00:00

📇🌍 Checkpoint

./server.js:933874/12758
This commit is contained in:
Glitch (hello-express) 2020-02-22 23:14:34 +00:00
parent 0349010171
commit ead7ec94fa

View File

@ -59,7 +59,12 @@ app.get("/api", (req, res) => {
"Access-Control-Allow-Headers",
"Origin, X-Requested-With, Content-Type, Accept"
);
res.send({ fuzIsOpen, lastSeen, lastClosed, processUptime: new Date(process.uptime() * 1000).toISOString().substr(11, 8) });
res.send({
fuzIsOpen,
lastSeen,
lastClosed,
processUptime: new Date(process.uptime() * 1000).toISOString().substr(11, 8)
});
});
app.get("/status", (req, res) => {