quash: query parameters for just, has, and do, and some general simplification
This commit is contained in:
parent
f2f4e2e704
commit
4720d408f4
14 changed files with 156 additions and 164 deletions
|
|
@ -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'), {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue