diff options
Diffstat (limited to 'intercept.go')
| -rw-r--r-- | intercept.go | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
