mirror of https://gitlab.com/bashrc2/epicyon
Save the onion or i2p version of the domain qrcode if available, because it's more useful
parent
a4a5ad7b32
commit
9f3231e5dd
|
@ -20633,6 +20633,11 @@ def run_daemon(crawlers_allowed: [],
|
||||||
httpd.domain = domain
|
httpd.domain = domain
|
||||||
httpd.port = port
|
httpd.port = port
|
||||||
httpd.domain_full = get_full_domain(domain, port)
|
httpd.domain_full = get_full_domain(domain, port)
|
||||||
|
if onion_domain:
|
||||||
|
save_domain_qrcode(base_dir, 'http', onion_domain)
|
||||||
|
elif i2p_domain:
|
||||||
|
save_domain_qrcode(base_dir, 'http', i2p_domain)
|
||||||
|
else:
|
||||||
save_domain_qrcode(base_dir, http_prefix, httpd.domain_full)
|
save_domain_qrcode(base_dir, http_prefix, httpd.domain_full)
|
||||||
httpd.http_prefix = http_prefix
|
httpd.http_prefix = http_prefix
|
||||||
httpd.debug = debug
|
httpd.debug = debug
|
||||||
|
|
Loading…
Reference in New Issue