mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 06:29:42 +02:00
refactor: apply renamed NewBytesPool with GetBytesPool
This commit is contained in:
@@ -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", "")
|
||||
|
||||
Reference in New Issue
Block a user