Added tor in a comment for GetServiceByHost().
This commit is contained in:
parent
f1248a63e6
commit
c16cb79307
@ -15,7 +15,7 @@ const (
|
||||
)
|
||||
|
||||
// GetServiceByHost returns a service's URL depending on what type of network
|
||||
// is accessed (www, i2p, yggdrasil).
|
||||
// is accessed (www, i2p, tor, yggdrasil).
|
||||
func GetServiceByHost(host, service string) string {
|
||||
if strings.HasSuffix(host, "i2p") {
|
||||
switch service {
|
||||
|
Loading…
Reference in New Issue
Block a user