Fixes broken test

This commit is contained in:
Emil Thelin 2015-04-23 20:56:31 +02:00
parent 9fd3ef2687
commit 2d7c7871b0

View File

@ -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
}