Update iroh and remove iroh. subdomain

This commit is contained in:
link2xt
2024-11-05 13:18:11 +00:00
committed by l
parent 12217437e3
commit 95f8c4b269
11 changed files with 57 additions and 59 deletions

View File

@@ -34,7 +34,7 @@ class Config:
self.disable_ipv6 = params.get("disable_ipv6", "false").lower() == "true"
self.imap_rawlog = params.get("imap_rawlog", "false").lower() == "true"
if "iroh_relay" not in params:
self.iroh_relay = "https://iroh." + params["mail_domain"]
self.iroh_relay = "https://" + params["mail_domain"]
self.enable_iroh_relay = True
else:
self.iroh_relay = params["iroh_relay"].strip()