Merge pull request #411 from TheNain38/patch-1

Use HTTPS to download GeoLite2-City database
This commit is contained in:
ZeroNet 2016-04-07 10:00:06 +02:00
commit a397253695
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ class UiWebsocketPlugin(object):
self.log.info("Downloading GeoLite2 City database...")
self.cmd("notification", ["geolite-info", "Downloading GeoLite2 City database (one time only, ~15MB)...", 0])
db_urls = [
"http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz",
"https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz",
"https://raw.githubusercontent.com/texnikru/GeoLite2-Database/master/GeoLite2-City.mmdb.gz"
]
for db_url in db_urls: