Skip to content

Commit

Permalink
Don't skip on expirationTime == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlepptop committed Mar 4, 2024
1 parent c070aa7 commit 7fbec74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export class Tile {
this.expirationTime = new Date(data.expires).getTime();
}

if (this.expirationTime) {
if (this.expirationTime !== null) {
const now = Date.now();
let isExpired = false;

Expand Down

0 comments on commit 7fbec74

Please sign in to comment.