diff --git a/utils/download_sqlite_all.js b/utils/download_sqlite_all.js index 10c91d43..379b87c1 100644 --- a/utils/download_sqlite_all.js +++ b/utils/download_sqlite_all.js @@ -44,8 +44,7 @@ function download(callback) { const countries = getCountriesToDownload(); return (e) => { if (countries.length === 0) { - // This is specific to geocode earth, it will select global sqlites - return COMBINED_REGEX.test(e.name_compressed) || wofDataHost !== DATA_GEOCODE_EARTH_URL; + return COMBINED_REGEX.test(e.name_compressed); } // This will download sqlites with the selected country code return COUNTRY_REGEX.test(e.name_compressed) && countries.some(c => e.name_compressed.indexOf(`-${c}-latest`) >= 0);