From c73217bfaa4e4f51db49dbab044964dacfe1dc3d Mon Sep 17 00:00:00 2001 From: samcm Date: Thu, 30 Nov 2017 21:33:23 +1100 Subject: [PATCH] Readd jsonfile --- package.json | 1 + webapp.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 97d37500..001e4299 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "dependencies": { "args-parser": "^1.1.0", "cors": "^2.8.3", + "jsonfile": "^4.0.0", "socket.io": "^2.0.3", "videojs-contrib-hls": "^5.5.2", "vue": "^2.5.2", diff --git a/webapp.js b/webapp.js index 6bc0e84e..97df0180 100644 --- a/webapp.js +++ b/webapp.js @@ -146,7 +146,7 @@ function killOldInvites(){ killOldInvites() setInterval(function() { killOldInvites() -},3600000) +}, 3600000) var shortenedLinks = {} loadFromFile((result) => {