From dd4baa267dbdfe279aab5f4122305ac51c0c6a3d Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 15 Jun 2015 15:00:21 +0200 Subject: Fix css and some bugs. --- intercept.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'intercept.go') diff --git a/intercept.go b/intercept.go index 8201f3e..eeea651 100644 --- a/intercept.go +++ b/intercept.go @@ -54,7 +54,10 @@ func (t *TemplateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { return } - err = tmpl.Execute(w, struct{ URL string }{URL: r.URL.Path}) + err = tmpl.Execute(w, struct { + URL string + Favicon template.HTML + }{URL: r.URL.Path, Favicon: getFavicon()}) if err != nil { log.Println(err.Error()) w.WriteHeader(500) -- cgit v1.2.3