This commit is contained in:
2025-12-19 13:45:30 -05:00
parent 823c8b52b3
commit 7b3862c43a
21 changed files with 2405 additions and 373 deletions

View File

@@ -263,7 +263,8 @@ export async function GET({ request }) {
return proxyResponse;
} catch (err) {
console.error('[image-proxy] Error fetching image:', err.message);
const message = err instanceof Error ? err.message : String(err);
console.error('[image-proxy] Error fetching image:', message);
return new Response('Failed to fetch image', { status: 500 });
}
}