Fix /teams redirect using wrong setting

This commit is contained in:
Alasdair Smith 2018-09-26 17:03:48 +01:00
parent 9c0a888d11
commit f2fa83a218

View file

@ -342,7 +342,7 @@ module.exports = class Router
if AuthenticationController.isUserLoggedIn(req)
res.redirect('/user/subscription')
else
res.redirect("#{settings.v1Api.host}/teams")
res.redirect("#{settings.apis.v1.url}/teams")
webRouter.get '/chrome', (req, res, next) ->
# Match v1 behaviour - this is used for a Chrome web app