From 8251dd6d0dec4aae833e8134b8b4a235b648dacd Mon Sep 17 00:00:00 2001 From: cglatot Date: Thu, 8 Oct 2020 16:49:47 +0100 Subject: Style changes, increase timeout timer to 3 mins --- index.html | 8 +++++--- js/main.js | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 7af4bf6..040965e 100644 --- a/index.html +++ b/index.html @@ -218,11 +218,13 @@
-
- +
+
+ +
-
+

You are logged in as: Click here to logout. diff --git a/js/main.js b/js/main.js index 2e741ea..c063c91 100644 --- a/js/main.js +++ b/js/main.js @@ -179,7 +179,7 @@ function authenticateWithPlex() { function listenForValidPincode(pinId, clientId, pinCode) { let currentTime = Date.now(); - if ((currentTime - backOffTimer)/1000 < 10) { + if ((currentTime - backOffTimer)/1000 < 180) { $.ajax({ "url": `https://plex.tv/api/v2/pins/${pinId}`, "headers": { -- cgit v1.2.3