forked from forgejo/forgejo
Organization level webhooks
This commit is contained in:
parent
e79e4b1580
commit
f8977f4847
6 changed files with 25 additions and 21 deletions
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue