diff --git a/view/who.go b/view/who.go index 3efee80..dfa5427 100644 --- a/view/who.go +++ b/view/who.go @@ -79,6 +79,9 @@ func whoGet(namespace string, g storage.RateLimitedGraph, w http.ResponseWriter, one := ones[0] baseUrl := *r.URL + if baseUrl.Scheme == "" { + baseUrl.Scheme = "http" + } if baseUrl.Host == "" { baseUrl.Host = r.Host }