mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix /teams redirect using wrong setting
This commit is contained in:
parent
9c0a888d11
commit
f2fa83a218
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue