fix: urls

This commit is contained in:
Artemy 2023-06-09 12:34:44 +03:00
parent 6c6d755231
commit be7ba521bf

View file

@ -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++)