From afa451e04c588173626bb7c3c93e65745f8fa58e Mon Sep 17 00:00:00 2001 From: Ayc0 Date: Mon, 6 Jan 2025 23:27:02 +0100 Subject: [PATCH] Remove trailing slash in RSS --- src/pages/rss.xml.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index e987efe..a232fbd 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -13,6 +13,7 @@ export const GET: APIRoute = async (context) => { description: "Various personal projects (finished or not), and all the blog posts I wrote", site: "https://ayc0.github.io/", + trailingSlash: false, // For RSS items: await Promise.all( posts.map(async (post) => { let image: string | undefined; -- 2.54.0