commit d69898202d6825ed30d19fd2882d328c38a5cf5d parent 0f6af20f5a166a508778fcf750de6ca22e28376c Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 14 Jan 2022 20:12:34 +0100 Use rss format as it otherwise omits the image Diffstat:
| M | pages/api/posts/feed.rss.ts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/api/posts/feed.rss.ts b/pages/api/posts/feed.rss.ts @@ -119,5 +119,5 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) feed.addCategory("Media"); feed.addCategory("Images"); feed.addCategory("SocialMedia"); - res.status(200).send(feed.atom1()); + res.status(200).send(feed.rss2()); } \ No newline at end of file