diff --git a/daemon.py b/daemon.py index 15edb731f..cee254aa8 100644 --- a/daemon.py +++ b/daemon.py @@ -6506,9 +6506,9 @@ class PubServer(BaseHTTPRequestHandler): not callingDomain.endswith('.onion'): ontologyFile = \ ontologyFile.replace('http://' + - self.server.domainFull, + callingDomain, 'https://' + - self.server.domainFull) + callingDomain) msg = ontologyFile.encode('utf-8') msglen = len(msg) self._set_headers(ontologyFileType, msglen,