mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-22 21:47:29 +00:00
🎖🛰 Checkpoint
./server.js:933874/216
This commit is contained in:
parent
ca3cfdf043
commit
269c0a50a2
@ -1,3 +1,7 @@
|
|||||||
|
const express = require("express");
|
||||||
|
const app = express();
|
||||||
|
const https = require('https');
|
||||||
|
|
||||||
var fuzIsOpen = false;
|
var fuzIsOpen = false;
|
||||||
var lastSeen = new Date("1970-01-01");
|
var lastSeen = new Date("1970-01-01");
|
||||||
var lastNofified = 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);
|
lastClosed = new Date(JSON.parse(content)["lastClosed"] || lastClosed);
|
||||||
} catch (err) {}
|
} catch (err) {}
|
||||||
|
|
||||||
const express = require("express");
|
|
||||||
const app = express();
|
|
||||||
|
|
||||||
app.use(express.static("public"));
|
app.use(express.static("public"));
|
||||||
|
|
||||||
app.get("/", (req, res) => {
|
app.get("/", (req, res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user