♻️ Use sanity

This commit is contained in:
2024-02-24 21:56:35 +08:00
parent 4b05046a17
commit 1a9ada9e0e
32 changed files with 8441 additions and 194 deletions

View File

@ -8,7 +8,7 @@ export async function GET() {
description: SITE_DESCRIPTION,
site_url: SITE_URL,
feed_url: `${SITE_URL}/feed`,
language: "zh-CN"
language: "zh-CN",
});
getSortedPosts().forEach((item) => {
@ -22,7 +22,7 @@ export async function GET() {
return new Response(feed.xml(), {
headers: {
"content-type": "application/xml"
}
"content-type": "application/xml",
},
});
}
}