summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth <elizabeth@simponic.xyz>2024-04-03 15:59:12 -0600
committerElizabeth <elizabeth@simponic.xyz>2024-04-03 15:59:12 -0600
commit8c7d9b376249807e1595f440fa72c77cafbdaf6f (patch)
treee44a529ae34c18ba94181b90f1dffcaa54fb4bb2
parent47cc8feefa34f35722719a82456ccd6257903d35 (diff)
downloadhatecomputers.club-8c7d9b376249807e1595f440fa72c77cafbdaf6f.tar.gz
hatecomputers.club-8c7d9b376249807e1595f440fa72c77cafbdaf6f.zip
dont always 200 on template render
-rw-r--r--api/template.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/template.go b/api/template.go
index eeaeb51..d637c64 100644
--- a/api/template.go
+++ b/api/template.go
@@ -66,7 +66,6 @@ func TemplateContinuation(path string, showBase bool) Continuation {
return failure(context, req, resp)
}
- resp.WriteHeader(200)
resp.Header().Set("Content-Type", "text/html")
resp.Write(html.Bytes())
return success(context, req, resp)