9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-14 01:37:29 +00:00

🎖🛰 Checkpoint

./server.js:933874/216
This commit is contained in:
Glitch (hello-express) 2019-11-04 22:27:36 +00:00
parent ca3cfdf043
commit 269c0a50a2

View File

@ -1,3 +1,7 @@
const express = require("express");
const app = express();
const https = require('https');
var fuzIsOpen = false;
var lastSeen = new Date("1970-01-01");
var lastNofified = new Date("1970-01-01");
@ -14,9 +18,6 @@ try {
lastClosed = new Date(JSON.parse(content)["lastClosed"] || lastClosed);
} catch (err) {}
const express = require("express");
const app = express();
app.use(express.static("public"));
app.get("/", (req, res) => {