From 8b68af8a9cf8103ac888aae0d7e206723b79f89d Mon Sep 17 00:00:00 2001 From: jorgep Date: Thu, 7 Dec 2023 09:41:04 +0100 Subject: [PATCH] fix renewPeriod --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 1005520..bf6dda0 100644 --- a/js/main.js +++ b/js/main.js @@ -40,7 +40,7 @@ function getTokenConfig() { if (!data) return; localStorage.setItem('renewPeriod', data.renewPeriod); clearInterval(intervalId); - intervalId = setInterval(() => checkValidity(), data.renewInterval * 10); + intervalId = setInterval(() => checkValidity(), data.renewInterval * 1000); }, }) }