mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-22 13:37:29 +00:00
🤑🎨 Checkpoint
./server.js:933874/8
This commit is contained in:
parent
44189ab0b9
commit
563da49b8f
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user