diff --git a/docker-compose.yml b/docker-compose.yml index 3ee8332..9735d82 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -162,6 +162,8 @@ services: redis: image: 'bitnami/redis:latest' container_name: queue + environment: + ALLOW_EMPTY_PASSWORD: "yes" networks: - proxy ports: diff --git a/src/client/actions/fileops.actions.tsx b/src/client/actions/fileops.actions.tsx index 101fcd3..be81fba 100644 --- a/src/client/actions/fileops.actions.tsx +++ b/src/client/actions/fileops.actions.tsx @@ -90,6 +90,7 @@ export const getComicBooks = (options) => async (dispatch) => { }, }) .then((response) => { + console.log(response); dispatch({ type: IMS_RECENT_COMICS_FETCHED, data: response.data, diff --git a/src/client/components/ComicDetail.tsx b/src/client/components/ComicDetail.tsx index bd7fbc8..fb15f65 100644 --- a/src/client/components/ComicDetail.tsx +++ b/src/client/components/ComicDetail.tsx @@ -467,7 +467,7 @@ export const ComicDetail = ({}: ComicDetailProps): ReactElement => { if (!isNil(comicBookDetailData.rawFileDetails)) { const encodedFilePath = encodeURI( `${IMPORT_SERVICE_HOST}` + - removeLeadingPeriod(comicBookDetailData.rawFileDetails.cover.filePath), + removeLeadingPeriod(comicBookDetailData.rawFileDetails.path), ); imagePath = escapePoundSymbol(encodedFilePath); comicBookTitle = comicBookDetailData.rawFileDetails.name; diff --git a/src/client/components/RecentlyImported.tsx b/src/client/components/RecentlyImported.tsx index 6f890f9..8422dea 100644 --- a/src/client/components/RecentlyImported.tsx +++ b/src/client/components/RecentlyImported.tsx @@ -39,10 +39,11 @@ export const RecentlyImported = ({ ({ _id, rawFileDetails, sourcedMetadata }) => { let imagePath = ""; let comicName = ""; + console.log(rawFileDetails); if (!isNil(rawFileDetails)) { const encodedFilePath = encodeURI( `${IMPORT_SERVICE_HOST}` + - removeLeadingPeriod(rawFileDetails.cover.filePath), + removeLeadingPeriod(rawFileDetails.path), ); imagePath = escapePoundSymbol(encodedFilePath); comicName = rawFileDetails.name;