fix return
This commit is contained in:
parent
9c3c67abed
commit
84ffc79849
|
@ -128,7 +128,7 @@ func (s Webp) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.H
|
|||
|
||||
fh,err:=os.Create(cacheFile)
|
||||
fh.Write(buf.Bytes())
|
||||
w.Write(buf.Bytes())
|
||||
// w.Write(buf.Bytes())
|
||||
|
||||
buf.WriteTo(fh)
|
||||
fh.Close()
|
||||
|
|
Loading…
Reference in New Issue