mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixes broken test
This commit is contained in:
parent
9fd3ef2687
commit
2d7c7871b0
@ -40,7 +40,7 @@ func GetContextHandler() macaron.Handler {
|
||||
}
|
||||
|
||||
if !strings.EqualFold(h, setting.Domain) {
|
||||
ctx.Redirect(strings.TrimSuffix(setting.AppUrl, "/") + ctx.Req.RequestURI, 301)
|
||||
ctx.Redirect(strings.TrimSuffix(setting.AppUrl, "/")+ctx.Req.RequestURI, 301)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user