all repos — flounder @ c7d2aca283929b5d18a22074b0542ca7cf4f622a

A small site builder for the Gemini protocol

fix
alex wennerberg alex@alexwennerberg.com
Fri, 08 Jan 2021 00:39:05 -0800
commit

c7d2aca283929b5d18a22074b0542ca7cf4f622a

parent

cb23e53f2726985ddb5ff7d839c743ac9c31e19f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M http.gohttp.go

@@ -35,7 +35,7 @@ StatusCode int

ErrorMsg string Config Config }{statusCode, errorMsg, c} - err := t.ExecuteTemplate(w, "error.html", c) + err := t.ExecuteTemplate(w, "error.html", data) if err != nil { // Shouldn't happen probably http.Error(w, errorMsg, statusCode) }