fix(gzip): add plugin proxy to gzip exclusion, fixes #5237

pull/4277/merge
Torkel Ödegaard 9 years ago
parent 38790e2c4b
commit 1283461b89
  1. 4
      pkg/middleware/util.go

@ -17,6 +17,10 @@ func Gziper() macaron.Handler {
return
}
if strings.HasPrefix(requestPath, "/api/plugin-proxy/") {
return
}
ctx.Invoke(macaronGziper)
}
}

Loading…
Cancel
Save