mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 19:22:34 +08:00
Backend: Migrate to using non-global configuration (#31856)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@ -133,7 +133,7 @@ func Recovery(cfg *setting.Cfg) macaron.Handler {
|
||||
}
|
||||
|
||||
c.Data["Title"] = "Server Error"
|
||||
c.Data["AppSubUrl"] = setting.AppSubUrl
|
||||
c.Data["AppSubUrl"] = cfg.AppSubURL
|
||||
c.Data["Theme"] = cfg.DefaultTheme
|
||||
|
||||
if setting.Env == setting.Dev {
|
||||
|
Reference in New Issue
Block a user