refactor: moves /txt/*.txt to /*.txt

This commit is contained in:
Lewis Wynne 2026-01-31 23:29:10 +00:00
parent e2b7c18692
commit 0672a761e3
13 changed files with 17 additions and 14 deletions

View file

@ -17,7 +17,7 @@ export async function GET(context: APIContext) {
'/md',
...posts.map(post => `/md/${getSlug(post.id)}`),
'/txt',
...txtFiles.map(txt => `/txt/${txt}`),
...txtFiles.map(txt => `/${txt}`),
'/bookmarks',
'/guestbook',
].map(p => `${site}${p}`);