1
0
Fork 0

In utils.NetworkType() added Yggdrasil.

This commit is contained in:
Alexander Andreev 2023-08-06 01:59:25 +04:00
parent 30ffa6805b
commit 6106e817cf
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ func NetworkType(host string) (string, string) {
return "i2p", "http"
} else if strings.Contains(host, "onion") {
return "tor", "http"
} else if strings.Contains(host, "[300:") {
return "ygg", "http"
} else {
return "www", "https"
}