🐛 trying to fix RSS bug

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2023-12-17 23:11:29 +01:00
parent ffa6464eb4
commit 5a2cfab685
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 12 additions and 4 deletions

View file

@ -14,5 +14,12 @@ export async function GET(context) {
customData: post.data.customData,
link: `/blog/${post.slug}/`,
})),
source: {
title: 'Sindre Kjelsrud',
url: 'http://kjelsrud.dev/rss.xml',
},
enclosure: {
url: '/public'
},
});
}