From be7ba521bf312266885c9ef9978c6ba99989fd63 Mon Sep 17 00:00:00 2001 From: Artemy Date: Fri, 9 Jun 2023 12:34:44 +0300 Subject: [PATCH] fix: urls --- index.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index 696ea20..15a6793 100644 --- a/index.js +++ b/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++)