mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 18:51:11 +00:00
don't add second slash into uni redirect
This commit is contained in:
parent
adc6b429e6
commit
65e48652ee
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module.exports = UniversityController =
|
||||||
|
|
||||||
getPage: (req, res, next)->
|
getPage: (req, res, next)->
|
||||||
url = req.url?.toLowerCase().replace(".html","")
|
url = req.url?.toLowerCase().replace(".html","")
|
||||||
return res.redirect("/i/#{url}")
|
return res.redirect("/i#{url}")
|
||||||
|
|
||||||
getIndexPage: (req, res)->
|
getIndexPage: (req, res)->
|
||||||
return res.redirect("/i/university")
|
return res.redirect("/i/university")
|
||||||
|
|
Loading…
Reference in a new issue