refactor: réorganisation des routes d'images et optimisation du chargement des miniatures
This commit is contained in:
@@ -47,6 +47,10 @@ export class ImageService extends BaseApiService {
|
||||
}
|
||||
|
||||
static getBookPageUrl(bookId: string, pageNumber: number): string {
|
||||
return `/api/komga/books/${bookId}/pages/${pageNumber}`;
|
||||
return `/api/komga/images/books/${bookId}/pages/${pageNumber}`;
|
||||
}
|
||||
|
||||
static getBookPageThumbnailUrl(bookId: string, pageNumber: number): string {
|
||||
return `/api/komga/images/books/${bookId}/pages/${pageNumber}/thumbnail`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user