diff --git a/routes/api.js b/routes/api.js index 26ec23a..6f05788 100644 --- a/routes/api.js +++ b/routes/api.js @@ -495,7 +495,7 @@ router.delete('/videos/:id', (req, res) => { * description: Image not found */ router.get('/smile', (req, res) => { - const imagePath = path.join(__dirname, '../storage/smile.jpg'); + const imagePath = path.join(__dirname, '/home/timelapse/storage/smile.jpg'); fs.access(imagePath, fs.constants.F_OK, (err) => { if (err) { console.error('Image not found:', err);