From 15ce071ef6b96b87871a475c90ba67fdef27a6b5 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Thu, 30 Jul 2015 15:47:05 +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 7fd4bc1..2e630fd 100644 --- a/web.go +++ b/web.go @@ -50,7 +50,7 @@ func (web *WebServer) homepage(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Invalid Token") } else { t, _ := template.ParseFiles("index.html") - t.Execute(w, Page{"http://" + getIP() + ":" + strconv.Itoa(web.port) + "/", r.URL.Path[1:]}) + t.Execute(w, &Page{"http://" + getIP() + ":" + strconv.Itoa(web.port) + "/", r.URL.Path[1:]}) } }