mirror of
https://github.com/CIMEngine/map.git
synced 2024-12-18 06:43:47 +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…
Add table
Reference in a new issue