mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(macaron): upgrades macaron version
This commit is contained in:
@@ -3,11 +3,12 @@ package middleware
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/Unknwon/macaron"
|
||||
"gopkg.in/macaron.v1"
|
||||
"github.com/go-macaron/gzip"
|
||||
)
|
||||
|
||||
func Gziper() macaron.Handler {
|
||||
macaronGziper := macaron.Gziper()
|
||||
macaronGziper := gzip.Gziper()
|
||||
|
||||
return func(ctx *macaron.Context) {
|
||||
requestPath := ctx.Req.URL.RequestURI()
|
||||
|
||||
Reference in New Issue
Block a user