1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add error handling when loading cert

This commit is contained in:
Luke Pulverenti 2016-11-10 17:38:58 -05:00
parent 9f00ca2c0c
commit 6145921372
8 changed files with 33 additions and 23 deletions

View file

@ -1509,7 +1509,7 @@
var updateDevicePromise;
// Cache for 3 days
if (params.deviceId && (new Date().getTime() - (regInfo.lastValidDate || 0)) < 259200000) {
if (params.deviceId && (new Date().getTime() - (regInfo.lastValidDate || 0)) < 604800000) {
console.log('getRegistrationInfo has cached info');