Migrate to Sveltekit 2.0

This commit is contained in:
2024-01-22 17:26:36 +01:00
parent f1cb0b2159
commit ad7c8af9de
3 changed files with 7 additions and 6 deletions

View File

@ -53,7 +53,7 @@ export const handle = (async ({ event, resolve }) => {
return new Response(f, { headers: [['Content-Type', 'image/' + suffix]] });
} catch (e) {
log.error('no stream', e);
throw error(404);
error(404);
}
}