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