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:
parent
9f00ca2c0c
commit
6145921372
8 changed files with 33 additions and 23 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue