1
0

To MainSite() added an Yggdrasil address.

This commit is contained in:
Alexander Andreev 2022-08-01 01:12:10 +04:00
parent 0d701dba34
commit adbab10507
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"