mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
Display message cap on status page
This commit is contained in:
@@ -32,13 +32,13 @@ func RootStatus(w http.ResponseWriter, req *http.Request, ctx *httpd.Context) (e
|
||||
webListener := fmt.Sprintf("%s:%d", config.GetWebConfig().IP4address.String(),
|
||||
config.GetWebConfig().IP4port)
|
||||
return httpd.RenderTemplate("root/status.html", w, map[string]interface{}{
|
||||
"ctx": ctx,
|
||||
"version": config.Version,
|
||||
"buildDate": config.BuildDate,
|
||||
"retentionMinutes": config.GetDataStoreConfig().RetentionMinutes,
|
||||
"smtpListener": smtpListener,
|
||||
"pop3Listener": pop3Listener,
|
||||
"webListener": webListener,
|
||||
"noStoreDomain": config.GetSMTPConfig().DomainNoStore,
|
||||
"ctx": ctx,
|
||||
"version": config.Version,
|
||||
"buildDate": config.BuildDate,
|
||||
"smtpListener": smtpListener,
|
||||
"pop3Listener": pop3Listener,
|
||||
"webListener": webListener,
|
||||
"smtpConfig": config.GetSMTPConfig(),
|
||||
"dataStoreConfig": config.GetDataStoreConfig(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user