fix: corrects the /random route to the new md path

This commit is contained in:
Lewis Wynne 2026-01-23 21:05:53 +00:00
parent f0f1816c87
commit 9137556a4a

View file

@ -24,7 +24,7 @@ export async function GET(context: APIContext) {
: [];
const urls = [
...posts.map(post => `/blog/${post.id}`),
...posts.map(post => `/md/${post.id}`),
...txtFiles.map(txt => `/txt/${txt}`),
...bookmarks.map(b => b.url),
];