don't console.log in rss.xml
This commit is contained in:
parent
4dbbd79b06
commit
1bfabbc5be
1 changed files with 0 additions and 3 deletions
|
@ -20,7 +20,6 @@ export async function GET(context) {
|
||||||
})
|
})
|
||||||
.slice(0, 30)
|
.slice(0, 30)
|
||||||
.map(([file, post]) => {
|
.map(([file, post]) => {
|
||||||
console.log("post", { file, post });
|
|
||||||
return {
|
return {
|
||||||
title: post.frontmatter.title ?? "",
|
title: post.frontmatter.title ?? "",
|
||||||
pubDate: new Date(post.frontmatter.date),
|
pubDate: new Date(post.frontmatter.date),
|
||||||
|
@ -30,8 +29,6 @@ export async function GET(context) {
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("posts", posts);
|
|
||||||
|
|
||||||
return rss({
|
return rss({
|
||||||
title: SITE_TITLE,
|
title: SITE_TITLE,
|
||||||
description: SITE_DESCRIPTION,
|
description: SITE_DESCRIPTION,
|
||||||
|
|
Loading…
Reference in a new issue