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) => {