We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e9a63 commit 40f7eb6Copy full SHA for 40f7eb6
plugin.go
@@ -15,9 +15,7 @@ func (g *Plugin) Init() error {
15
}
16
17
func (g *Plugin) Middleware(next http.Handler) http.Handler {
18
- return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
19
- gzhttp.GzipHandler(next).ServeHTTP(w, r)
20
- })
+ return gzhttp.GzipHandler(next)
21
22
23
func (g *Plugin) Name() string {
0 commit comments