diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-07 19:39:26 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-07 19:39:26 -0400 |
commit | f8977f4847b8df9feec1bb5913f75401d79db876 (patch) | |
tree | 1419364509b0f53c2294fa9dbdeffb7770762033 /cmd/web.go | |
parent | e79e4b158090bf7c5dd86ac21cd0dbf44fbc82bd (diff) | |
download | gitea-f8977f4847b8df9feec1bb5913f75401d79db876.tar.gz gitea-f8977f4847b8df9feec1bb5913f75401d79db876.zip |
Organization level webhooks
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go index 8182d7b561..e703807643 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -69,9 +69,9 @@ func newMacaron() *macaron.Macaron { SkipLogging: !setting.DisableRouterLog, }, )) - if setting.EnableGzip { - m.Use(macaron.Gzip()) - } + // if setting.EnableGzip { + // m.Use(macaron.Gzip()) + // } m.Use(macaron.Renderer(macaron.RenderOptions{ Directory: path.Join(setting.StaticRootPath, "templates"), Funcs: []template.FuncMap{base.TemplateFuncs}, |