mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 02:49:25 +08:00
Fixes broken test
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user