mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Fix #242
This commit is contained in:
@ -193,6 +193,9 @@ func Config(ctx *middleware.Context) {
|
||||
|
||||
ctx.Data["DbCfg"] = models.DbCfg
|
||||
|
||||
ctx.Data["WebhookTaskInterval"] = setting.WebhookTaskInterval
|
||||
ctx.Data["WebhookDeliverTimeout"] = setting.WebhookDeliverTimeout
|
||||
|
||||
ctx.Data["MailerEnabled"] = false
|
||||
if setting.MailService != nil {
|
||||
ctx.Data["MailerEnabled"] = true
|
||||
|
||||
Reference in New Issue
Block a user