From 1309711380b475efa02f915840f5231429d3ce50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?In=C3=A8s=20Yeterian?= <ines.yeterian@student-cs.fr> Date: Mon, 14 Feb 2022 16:07:20 +0100 Subject: [PATCH] try to add last toucan image route : add toucan in url --- backend/routes/routesToucan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/routesToucan.js b/backend/routes/routesToucan.js index 620b84d..6681a0f 100644 --- a/backend/routes/routesToucan.js +++ b/backend/routes/routesToucan.js @@ -190,7 +190,7 @@ router.get('/img-lastToucan', (req, res) => { idMax = toucans[i]._id; } } - res.redirect('/img/'+idMax); + res.redirect('img/'+idMax); } } -- GitLab