All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s
12 lines
163 B
Go
12 lines
163 B
Go
package middleware
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/NYTimes/gziphandler"
|
|
)
|
|
|
|
func Gzip(next http.Handler) http.Handler {
|
|
return gziphandler.GzipHandler(next)
|
|
}
|