feat: cache review and home loadings

This commit is contained in:
Julien Froidefond
2025-02-16 22:06:15 +01:00
parent 068c623e37
commit c92156ad12
3 changed files with 56 additions and 43 deletions

View File

@@ -18,6 +18,9 @@ export class ImageService extends BaseApiService {
async () => {
const response = await fetch(url, { headers });
// Log du résultat de la requête
console.log(`📡 [Komga API] ${response.status} ${response.statusText} - ${url}`);
if (!response.ok) {
throw new Error(`Erreur HTTP: ${response.status} ${response.statusText}`);
}