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

This commit is contained in:
Torkel Ödegaard 2016-06-02 09:56:53 +02:00
parent 38790e2c4b
commit 1283461b89

View File

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