mirror of
https://github.com/CIMEngine/map.git
synced 2024-11-05 20:13:58 +03:00
fix: urls
This commit is contained in:
parent
6c6d755231
commit
be7ba521bf
1 changed files with 2 additions and 7 deletions
9
index.js
9
index.js
|
@ -85,14 +85,9 @@ window.onload = async () => {
|
|||
let lasticocords;
|
||||
|
||||
loginfo("Getting geo data");
|
||||
let geo = await fetch(
|
||||
geoURL || "https://erth2.github.io/movc/geo/geo.geojson"
|
||||
);
|
||||
let geo = await fetch(geoURL);
|
||||
loginfo("Getting country data");
|
||||
let coarray = await fetch(
|
||||
countryInfoUrl ||
|
||||
"https://erth2.github.io/movc/geo/countries/countries.json"
|
||||
);
|
||||
let coarray = await fetch(countryInfoUrl);
|
||||
coarray = await coarray.json();
|
||||
let countries = {};
|
||||
for (let i = 0; i < coarray.length; i++)
|
||||
|
|
Loading…
Reference in a new issue