From b7aa5dafbed0d03e7822a8811aaf491fd7a3491e Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 30 Jul 2015 17:37:19 +0100 Subject: [PATCH] Fixing build issues --- web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.go b/web.go index c3c67db..35a8bb7 100644 --- a/web.go +++ b/web.go @@ -59,7 +59,7 @@ func (web *WebServer) homepage(w http.ResponseWriter, r *http.Request) { return } - err = t.Execute(w, &Page{"http://" + getIP() + ":" + strconv.Itoa(web.port) + "/", r.URL.Path[1:], uname}) + err = t.Execute(w, &Page{"http://" + getIP() + ":" + strconv.Itoa(web.port) + "/", r.URL.Path[1:], uname.Name}) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) }