quash: query parameters for just, has, and do, and some general simplification

This commit is contained in:
Lewis Wynne 2026-03-26 02:25:50 +00:00
parent f2f4e2e704
commit 4720d408f4
14 changed files with 156 additions and 164 deletions

View file

@ -15,10 +15,7 @@ export async function GET(context: APIContext) {
const urls = [
'/',
...posts.map(post => `/${getSlug(post.id)}`),
'/txt',
...txtFiles.map(txt => `/${txt}`),
'/bookmarks',
'/guestbook',
].map(p => `${site}${p}`);
return new Response([...urls, ...SUBDOMAINS].join('\n'), {