9
0
mirror of https://github.com/Lomanic/presence-button-web synced 2024-11-22 21:47:29 +00:00

🤑🎨 Checkpoint

./server.js:933874/8
This commit is contained in:
Glitch (hello-express) 2019-12-24 10:47:56 +00:00
parent 44189ab0b9
commit 563da49b8f

View File

@ -9,7 +9,7 @@ var lastClosed = new Date("1970-01-01");
const fs = require("fs"); const fs = require("fs");
const db = "./.data/data.json"; const db = "./.data/data.json";
const closingTimeout = 5000000 * 60 * 1000; // 5 mins const closingTimeout = 5 * 60 * 1000; // 5 mins
try { try {
var content = fs.readFileSync(db, "utf8"); var content = fs.readFileSync(db, "utf8");