1
0

To MainSite() added an Yggdrassil address.

This commit is contained in:
Alexander Andreev 2022-08-01 01:09:43 +04:00
parent eea0e0968a
commit 3834339da7
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -8,6 +8,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"