diff options
author | 2022-07-02 20:55:59 +0100 | |
---|---|---|
committer | 2022-07-02 20:55:59 +0100 | |
commit | deb96400919540b3c8fbb1d89f6eefe89d715b09 (patch) | |
tree | 43b4b68f963a90266b68ad7e87186956bd4c6f51 /src/serviceWorker.ts | |
parent | Merge 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