diff --git a/pkg/utils/dwelling.go b/pkg/utils/dwelling.go index 5f88f9d..bd78bdc 100644 --- a/pkg/utils/dwelling.go +++ b/pkg/utils/dwelling.go @@ -15,6 +15,9 @@ func MainSite(host string) string { // NetworkType detects network based on host suffix, // whether client connected from Tor, I2P or Clearnet. +// Holy shit, net/http/Response doesn't actually save +// a URL.Scheme and just spit out an empty string. +// What a shame. func NetworkType(host string) (string, string) { if strings.Contains(host, "i2p") { return "i2p", "http"