mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
don't add second slash into uni redirect
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = UniversityController =
|
||||
|
||||
getPage: (req, res, next)->
|
||||
url = req.url?.toLowerCase().replace(".html","")
|
||||
return res.redirect("/i/#{url}")
|
||||
return res.redirect("/i#{url}")
|
||||
|
||||
getIndexPage: (req, res)->
|
||||
return res.redirect("/i/university")
|
||||
|
||||
Reference in New Issue
Block a user