dont always 200 on template render
This commit is contained in:
parent
47cc8feefa
commit
8c7d9b3762
|
@ -66,7 +66,6 @@ func TemplateContinuation(path string, showBase bool) Continuation {
|
||||||
return failure(context, req, resp)
|
return failure(context, req, resp)
|
||||||
}
|
}
|
||||||
|
|
||||||
resp.WriteHeader(200)
|
|
||||||
resp.Header().Set("Content-Type", "text/html")
|
resp.Header().Set("Content-Type", "text/html")
|
||||||
resp.Write(html.Bytes())
|
resp.Write(html.Bytes())
|
||||||
return success(context, req, resp)
|
return success(context, req, resp)
|
||||||
|
|
Loading…
Reference in New Issue