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:
parent
1a8f753303
commit
c10d2e0d45
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue