refactor: apply renamed NewBytesPool with GetBytesPool

This commit is contained in:
yusing
2025-09-02 22:46:16 +08:00
parent c128557c81
commit b051987a1c
5 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ type modifyHTML struct {
var ModifyHTML = NewMiddleware[modifyHTML]()
var bytePool = synk.NewBytesPool()
var bytePool = synk.GetBytesPool()
func (m *modifyHTML) before(_ http.ResponseWriter, req *http.Request) bool {
req.Header.Set("Accept-Encoding", "")