From c16cb79307d75e864ea1e43637f80e4190e0afc9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 19 Jun 2024 01:08:43 +0400 Subject: [PATCH] Added tor in a comment for GetServiceByHost(). --- pkg/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/util.go b/pkg/util/util.go index 1f5352e..08fd9c9 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -15,7 +15,7 @@ const ( ) // GetServiceByHost returns a service's URL depending on what type of network -// is accessed (www, i2p, yggdrasil). +// is accessed (www, i2p, tor, yggdrasil). func GetServiceByHost(host, service string) string { if strings.HasSuffix(host, "i2p") { switch service {