Skip to content

Commit

Permalink
Merge branch 'Tevemadar:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Tevemadar authored Aug 21, 2023
2 parents c5c5201 + ab8ee67 commit bd32f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ let atlas;

async function getDescriptor() {
const download = await dpurlget(bucket+"/"+filename);
return fetch(download.url + "?" + Date.now()).then(response => response.json());
return fetch(download.url.includes("?") ? download.url : download.url + "?" + Date.now()).then(response => response.json());
}

async function getTile(section, level, x, y) {
Expand Down

0 comments on commit bd32f6a

Please sign in to comment.