bump go-pkgz/rest

This commit is contained in:
Umputun
2021-04-04 02:39:42 -05:00
parent 1fec95e9b8
commit 7a263fed42
7 changed files with 61 additions and 16 deletions

View File

@@ -120,7 +120,7 @@ func (h *Http) toHttp(address string, httpPort int) string {
func (h *Http) gzipHandler() func(next http.Handler) http.Handler {
if h.GzEnabled {
return R.Gzip
return R.Gzip()
}
return func(next http.Handler) http.Handler {