main
Bob Mottram 2021-09-12 13:51:20 +01:00
parent c98eec8b85
commit 3267fe395e
1 changed files with 4 additions and 0 deletions

View File

@ -11599,6 +11599,10 @@ class PubServer(BaseHTTPRequestHandler):
def do_GET(self):
callingDomain = self.server.domainFull
# TEST
print('GETheaders: ' + self.path + ' ' + str(self.headers))
if self.headers.get('Host'):
callingDomain = decodedHost(self.headers['Host'])
if self.server.onionDomain: