mirror of https://github.com/jlelse/GoBlog
Add back CloseWithError call
This commit is contained in:
parent
aa9b1996a2
commit
b97298dd11
|
@ -55,7 +55,7 @@ func (a *goBlog) renderWithStatusCode(w http.ResponseWriter, r *http.Request, st
|
|||
pluginPipeWriter.Close()
|
||||
}()
|
||||
// Return minified HTML
|
||||
_ = a.min.Get().Minify(contenttype.HTML, w, pluginPipeReader)
|
||||
_ = pluginPipeReader.CloseWithError(a.min.Get().Minify(contenttype.HTML, w, pluginPipeReader))
|
||||
}
|
||||
|
||||
func (a *goBlog) chainUiPlugins(plugins []any, rc *pluginRenderContext, rendered io.Reader, modified io.Writer) {
|
||||
|
|
Loading…
Reference in New Issue