diff --git a/core/auth.js b/core/auth.js index 39c2caf4..c890c02e 100644 --- a/core/auth.js +++ b/core/auth.js @@ -5,7 +5,13 @@ import * as form from './form.js'; var gTokens = {}; var gDatabase = new Database("auth"); -const kRefreshInterval = 1 * 60 * 60 * 1000; +const kRefreshInterval = + 1 /* w */ * + 7 /* d */ * + 24 /* h */ * + 60 /* m */ * + 60 /* s */ * + 1000 /* ms */; function b64url(value) { value = value.replaceAll('+', '-').replaceAll('/', '_');