mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-27 19:06:26 +08:00
Make the thing compile
This commit is contained in:
parent
1a8f753303
commit
c10d2e0d45
|
@ -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 New Issue
Block a user