update dependencies, add songs to youtube playlist

This commit is contained in:
2025-07-01 16:01:19 +02:00
parent 3c6e742e43
commit b7a930c69a
12 changed files with 652 additions and 265 deletions

View File

@ -18,6 +18,12 @@ export const handleError = (({ error }) => {
}) satisfies HandleServerError;
export const handle = (async ({ event, resolve }) => {
const searchParams = event.url.searchParams;
const authCode = searchParams.get('code');
if (authCode) {
log.debug('received GET hook', event.url.searchParams);
}
// Reeder *insists* on checking /feed instead of /feed.xml
if (event.url.pathname === '/feed') {
return new Response('', { status: 301, headers: { Location: '/feed.xml' } });