package utils import "strings" // MainSite returns homepage address depending on network used. func MainSite(host string) string { if strings.Contains(host, "i2p") { return "http://arav.i2p" } else if strings.Contains(host, "onion") { return "http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion" } return "https://arav.top" }