mirror of
https://github.com/Lomanic/presence-button-web
synced 2024-11-22 21:47:29 +00:00
🍱📺 Checkpoint
./server.js:933874/3
This commit is contained in:
parent
c50e43ddf3
commit
d06a2675b6
@ -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 = 30 * 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