1
0

To MainSite() added an Yggdrasil address.

This commit is contained in:
Alexander Andreev 2022-08-01 01:16:26 +04:00
parent b6aa765183
commit 7fc6daa50f
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -12,6 +12,8 @@ func MainSite(host string) string {
return "http://arav.i2p"
} else if strings.Contains(host, "onion") {
return "http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion"
} else if strings.HasPrefix(host, "[300") {
return "http://[300:a98d:d6d0:8a08::f]"
}
return "https://arav.top"