From 7652a1ea6450c3f666472aeda6a7403567e4e3f6 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Wed, 12 Feb 2025 11:38:57 +0100 Subject: [PATCH] =?UTF-8?q?Ajouter=20un=20log=20pour=20afficher=20le=20che?= =?UTF-8?q?min=20de=20la=20vid=C3=A9o=20dans=20la=20route=20de=20r=C3=A9cu?= =?UTF-8?q?p=C3=A9ration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/videoRoutes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/videoRoutes.js b/routes/videoRoutes.js index eaebea1..c785206 100644 --- a/routes/videoRoutes.js +++ b/routes/videoRoutes.js @@ -271,6 +271,7 @@ router.get('/videos/file/:video_id', (req, res) => { return res.status(400).json({ error: 'Video not yet produced' }); } const videoPath = video.video_path; + console.log('Video path:', videoPath); fs.access(videoPath, fs.constants.F_OK, (err) => { if (err) { console.error('Video not found:', err);