feat: multiple hosts for same http server

This commit is contained in:
2026-04-12 22:25:55 +02:00
parent 55a59b36d9
commit 1e163f4023
8 changed files with 89 additions and 46 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class Page:
def __repr__(self) -> str:
out = self.get_url_path()
if self.host is not None:
out += f" [http://{self.host}/]"
out += f" [{self.host}]"
if not self.with_index:
out += " (no index)"
return out