fix: update sitemap.txt to use /md/ URLs for posts

This commit is contained in:
Lewis Wynne 2026-01-23 19:25:13 +00:00
parent ccec4d274a
commit f769f15468

View file

@ -18,8 +18,8 @@ export async function GET(context: APIContext) {
const urls = [ const urls = [
'/', '/',
'/blog', '/md',
...posts.map(post => `/blog/${post.id}`), ...posts.map(post => `/md/${post.id}`),
'/txt', '/txt',
...txtFiles.map(txt => `/txt/${txt}`), ...txtFiles.map(txt => `/txt/${txt}`),
'/bookmarks', '/bookmarks',