diff --git a/rpc/lib/server/handlers.go b/rpc/lib/server/handlers.go
index 1bac625b..19fc0f6e 100644
--- a/rpc/lib/server/handlers.go
+++ b/rpc/lib/server/handlers.go
@@ -746,13 +746,13 @@ func writeListOfEndpoints(w http.ResponseWriter, r *http.Request, funcMap map[st
buf.WriteString("
Available endpoints:
")
for _, name := range noArgNames {
- link := fmt.Sprintf("http://%s/%s", r.Host, name)
+ link := fmt.Sprintf("//%s/%s", r.Host, name)
buf.WriteString(fmt.Sprintf("%s", link, link))
}
buf.WriteString("
Endpoints that require arguments:
")
for _, name := range argNames {
- link := fmt.Sprintf("http://%s/%s?", r.Host, name)
+ link := fmt.Sprintf("//%s/%s?", r.Host, name)
funcData := funcMap[name]
for i, argName := range funcData.argNames {
link += argName + "=_"