aboutsummaryrefslogtreecommitdiffstats
path: root/src/serviceWorker.ts
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-07-02 20:55:59 +0100
committerGravatar Chris Lovering <[email protected]>2022-07-02 20:55:59 +0100
commitdeb96400919540b3c8fbb1d89f6eefe89d715b09 (patch)
tree43b4b68f963a90266b68ad7e87186956bd4c6f51 /src/serviceWorker.ts
parentMerge pull request #474 from python-discord/display-test-failures (diff)
Base refresh timeout on diff from current time
Previously the logic was using the expiry date's unix timestamp as if it was a number of ms until it expired. This caused the timeout to be far after the actual token expiry.
Diffstat (limited to 'src/serviceWorker.ts')
0 files changed, 0 insertions, 0 deletions