Skip to content

Commit

Permalink
Merge pull request #7 from tanmaylaud/feature/added-missing-labels-an…
Browse files Browse the repository at this point in the history
…d-flags

Feature/added missing labels and flags
  • Loading branch information
tanmaylaud authored Oct 15, 2020
2 parents fc3d4cd + 7ec9680 commit 3e513a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/Constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const BACKGROUND_IMAGE_URL =
"//cdn.jsdelivr.net/npm/three-globe/example/img/night-sky.png";
export const GEOJSON_URL =
"https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_110m_admin_0_countries.geojson";
export const CASES_API = "https://covid3d-backend.now.sh";
export const CASES_API =
"https://raw.githubusercontent.com/wobsoriano/covid3d/master/data.json";

export const FLAG_ENDPOINT = "https://corona.lmao.ninja/assets/img/flags";
6 changes: 3 additions & 3 deletions src/Globe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ async function getCases() {

dates = Object.keys(countries.India);

updateCounters();
updatePolygonsData();
await updateCounters();
await updatePolygonsData();

updatePointOfView();
await updatePointOfView();
}

function updateCounters() {
Expand Down

0 comments on commit 3e513a0

Please sign in to comment.