From d071081b3af556ff859e7535b3f0367d94ffe7ea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Sep 2021 16:55:57 +0100 Subject: [PATCH] Use calling domain for dfc ontology --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,