mirror of https://gitlab.com/bashrc2/epicyon
Typo
parent
0f58390e67
commit
f69b5adc91
|
@ -1731,12 +1731,12 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
return True
|
||||
# protocol handler. See https://fedi-to.github.io/protocol-handler.html
|
||||
if self.path.startswith('/.well-known/protocol-handler'):
|
||||
if calling_domain.endswidth('.onion'):
|
||||
if calling_domain.endswith('.onion'):
|
||||
protocol_url = \
|
||||
wellknown_protocol_handler(self.path,
|
||||
self.server.base_dir, 'http',
|
||||
self.server.onion_domain)
|
||||
elif calling_domain.endswidth('.i2p'):
|
||||
elif calling_domain.endswith('.i2p'):
|
||||
protocol_url = \
|
||||
wellknown_protocol_handler(self.path, self.server.base_dir,
|
||||
'http', self.server.i2p_domain)
|
||||
|
|
Loading…
Reference in New Issue