debug: size unique on home

This commit is contained in:
Julien Froidefond
2025-02-19 21:25:41 +01:00
parent b3eb5814a1
commit 69f0f50780
3 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ function MediaCard({ item, onClick }: MediaCardProps) {
type={isSeries ? "series" : "book"} type={isSeries ? "series" : "book"}
id={item.id} id={item.id}
alt={`Couverture de ${title}`} alt={`Couverture de ${title}`}
sizes="200px" sizes="100vh"
quality={100} quality={100}
/> />
{/* Overlay avec les informations au survol */} {/* Overlay avec les informations au survol */}

View File

@@ -94,7 +94,7 @@ export class BookService extends BaseApiService {
return new Response(response.buffer, { return new Response(response.buffer, {
headers: { headers: {
"Content-Type": response.contentType || "image/jpeg", "Content-Type": response.contentType || "image/jpeg",
// "Cache-Control": "public, max-age=31536000, immutable", "Cache-Control": "public, max-age=31536000, immutable",
}, },
}); });
} }

View File

@@ -88,7 +88,7 @@ export class SeriesService extends BaseApiService {
return new Response(response.buffer, { return new Response(response.buffer, {
headers: { headers: {
"Content-Type": response.contentType || "image/jpeg", "Content-Type": response.contentType || "image/jpeg",
// "Cache-Control": "public, max-age=31536000, immutable", "Cache-Control": "public, max-age=31536000, immutable",
}, },
}); });
} }