mirror of
https://github.com/shafat-96/anime-mapper
synced 2026-04-17 15:51:45 +00:00
image
This commit is contained in:
@@ -234,7 +234,10 @@ app.get('/animepahe/hls/:anilistId/:episode', cache('15 minutes'), async (req, r
|
||||
const sources = await consumetAnimePahe.fetchEpisodeSources(targetEpisode.episodeId);
|
||||
|
||||
// Return the sources directly
|
||||
return res.status(200).json(sources);
|
||||
return res.status(200).json({
|
||||
sources: sources,
|
||||
image: targetEpisode.image || ''
|
||||
});
|
||||
} catch (error) {
|
||||
console.error('Error fetching HLS sources:', error.message);
|
||||
return res.status(500).json({
|
||||
|
||||
Reference in New Issue
Block a user