1
0

Added tor in a comment for GetServiceByHost().

This commit is contained in:
Alexander Andreev 2024-06-19 01:08:43 +04:00
parent f1248a63e6
commit c16cb79307
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -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 {