0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Make the thing compile

This commit is contained in:
Matthew Holt 2015-04-21 22:30:47 -06:00
parent 1a8f753303
commit c10d2e0d45

View file

@ -49,7 +49,7 @@ func (t Templates) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error
// Execute it
var buf bytes.Buffer
err = bc.Template.Execute(&buf, ctx)
err = tpl.Execute(&buf, ctx)
if err != nil {
return http.StatusInternalServerError, err
}