Merge pull request #169 from zeronet-conservancy/disable_geoip_leak

disable ip address leak when downloading geoip db in tor-only mode
This commit is contained in:
caryoscelus 2022-09-20 11:56:09 +00:00 committed by GitHub
commit ed8c7a8f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -593,7 +593,7 @@ class UiWebsocketPlugin(object):
import shutil
from util import helper
if config.offline:
if config.offline or config.tor == 'always':
return False
self.log.info("Downloading GeoLite2 City database...")