mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-20 16:17:32 -03:00
añadido tamaño de imagen
This commit is contained in:
@@ -212,7 +212,8 @@ export const GET: RequestHandler = async ({ params, fetch, request }) => {
|
|||||||
return new Response(new Uint8Array(pngBuffer), {
|
return new Response(new Uint8Array(pngBuffer), {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'image/png',
|
'Content-Type': 'image/png',
|
||||||
'Cache-Control': 'public, max-age=31536000, immutable'
|
'Cache-Control': 'public, max-age=31536000, immutable',
|
||||||
|
'Content-Length': pngBuffer.length.toString()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user