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

@@ -557,10 +557,9 @@ router.get('/smile', (req, res) => {
* example: image.jpg * example: image.jpg
* responses: * responses:
* 200: * 200:
* 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);