From 478fc5dd8915e8ba9546fbf97ed8d77785f646fc Mon Sep 17 00:00:00 2001 From: Vladislav Yaroslavlev Date: Mon, 16 Feb 2026 18:51:21 +0300 Subject: [PATCH] docs: update README with new 'announce' parameter Replace deprecated 'announce_ip' example with new 'announce' parameter that supports both hostnames and IP addresses. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de744a3..89040c4 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,9 @@ listen_addr_ipv6 = "::" # Listen on multiple interfaces/IPs (overrides listen_addr_*) [[server.listeners]] ip = "0.0.0.0" -# announce_ip = "1.2.3.4" # Optional: Public IP for tg:// links +# announce = "my.hostname.tld" # Optional: hostname for tg:// links +# OR +# announce = "1.2.3.4" # Optional: Public IP for tg:// links [[server.listeners]] ip = "::"