mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
letsencrypt: Skip hidden service domains on index
This commit is contained in:
parent
b0b67db35e
commit
cec3ced675
@ -85,7 +85,11 @@ def get_status():
|
|||||||
status = actions.superuser_run('letsencrypt', ['get-status'])
|
status = actions.superuser_run('letsencrypt', ['get-status'])
|
||||||
status = json.loads(status)
|
status = json.loads(status)
|
||||||
|
|
||||||
for domains in names.domains.values():
|
for domain_type, domains in names.domains.items():
|
||||||
|
# XXX: Remove when Let's Encrypt supports .onion addresses
|
||||||
|
if domain_type == 'hiddenservice':
|
||||||
|
continue
|
||||||
|
|
||||||
for domain in domains:
|
for domain in domains:
|
||||||
status['domains'].setdefault(domain, {})
|
status['domains'].setdefault(domain, {})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user