#73 begin implement keycloak
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s
This commit is contained in:
11
middleware/gzip.go
Normal file
11
middleware/gzip.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package middleware
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/NYTimes/gziphandler"
|
||||
)
|
||||
|
||||
func Gzip(next http.Handler) http.Handler {
|
||||
return gziphandler.GzipHandler(next)
|
||||
}
|
||||
Reference in New Issue
Block a user