Improve formatting

This commit is contained in:
2023-04-11 16:02:54 +02:00
parent 268128c2f4
commit 6c9546b74a
22 changed files with 280 additions and 279 deletions

View File

@ -24,12 +24,9 @@ export const handle = (async ({ event, resolve }) => {
}
if (event.url.pathname === '/feed.xml') {
const f = await fs.readFile('feed.xml', { encoding: 'utf8' });
return new Response(
f,
{ headers: [['Content-Type', 'application/atom+xml']] }
);
return new Response(f, { headers: [['Content-Type', 'application/atom+xml']] });
}
const response = await resolve(event);
return response;
}) satisfies Handle;
}) satisfies Handle;