fix(middleware): correct and simplify HTML modification / buffer management logic, correct Accept-Encoding header

This commit is contained in:
yusing
2025-10-27 15:08:29 +08:00
parent 39c8cc2820
commit 5e00e1c437
2 changed files with 10 additions and 19 deletions

View File

@@ -45,10 +45,6 @@ var (
var fontCSSTemplate = template.Must(template.New("fontCSS").Parse(fontCSS))
func (m *themed) setup() {
m.m.setup()
}
func (m *themed) before(w http.ResponseWriter, req *http.Request) bool {
return m.m.before(w, req)
}