blob: 63fc23bdb6aa6f74465e6d57bed64dd3d43264cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import Parser from 'rss-parser';
export const GET = async ({ setHeaders }) => {
setHeaders({
'Cache-Control': 'public, max-age=600, s-maxage=600'
});
return Response.json(await new Parser().parseURL('https://www.mangaupdates.com/rss.php'));
};
|