Correction de l'indentation et amélioration de la documentation Swagger pour la route d'image

This commit is contained in:
2025-02-11 10:54:49 +01:00
parent cb73a1ca3f
commit 3858fb2e02

View File

@@ -560,7 +560,6 @@ router.get('/smile', (req, res) => {
* description: A successful response * description: A successful response
* 404: * 404:
* description: Image not found * description: Image not found
*
*/ */
router.get('/image/:filename', (req, res) => { router.get('/image/:filename', (req, res) => {
const imagePath = path.join('/storage/image', req.params.filename); const imagePath = path.join('/storage/image', req.params.filename);