añadido tamaño de imagen

This commit is contained in:
2026-01-06 14:02:17 -03:00
parent 057619e2a7
commit 195e021da4

View File

@@ -212,7 +212,8 @@ export const GET: RequestHandler = async ({ params, fetch, request }) => {
return new Response(new Uint8Array(pngBuffer), {
headers: {
'Content-Type': 'image/png',
'Cache-Control': 'public, max-age=31536000, immutable'
'Cache-Control': 'public, max-age=31536000, immutable',
'Content-Length': pngBuffer.length.toString()
}
});
};