Skip to content
Snippets Groups Projects
Commit c7b694c9 authored by Inès Yeterian's avatar Inès Yeterian
Browse files

try to add last toucan image route : add toucan in url

parent 6af7a4d0
No related branches found
No related tags found
1 merge request!6Last toucan
......@@ -190,7 +190,7 @@ router.get('/img-lastToucan', (req, res) => {
idMax = toucans[i]._id;
}
}
res.redirect('toucan/img/'+idMax);
res.redirect('/img/'+idMax);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment