fix: corrects the /random route to the new md path
This commit is contained in:
parent
f0f1816c87
commit
9137556a4a
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export async function GET(context: APIContext) {
|
||||||
: [];
|
: [];
|
||||||
|
|
||||||
const urls = [
|
const urls = [
|
||||||
...posts.map(post => `/blog/${post.id}`),
|
...posts.map(post => `/md/${post.id}`),
|
||||||
...txtFiles.map(txt => `/txt/${txt}`),
|
...txtFiles.map(txt => `/txt/${txt}`),
|
||||||
...bookmarks.map(b => b.url),
|
...bookmarks.map(b => b.url),
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue