2
0
This commit is contained in:
glax 2023-05-25 14:28:56 +02:00
parent 780df1cd6e
commit 6aa0ea277b
2 changed files with 5 additions and 3 deletions

View File

@ -111,7 +111,7 @@ function CreatePublication(publication, connector){
var publicationElement = document.createElement('publication');
publicationElement.setAttribute("id", publication.internalId);
var img = document.createElement('img');
img.src = `data:image;base64,${publication.posterBase64}`;
img.src = `imageCache/${publication.coverFileNameInCache}`;
publicationElement.appendChild(img);
var info = document.createElement('publication-information');
var connectorName = document.createElement('connector-name');

View File

@ -3,7 +3,7 @@
image: glax/tranga-api:latest
container_name: tranga-api
volumes:
- ./tranga:/usr/share/Tranga-API
- ./tranga:/usr/share/Tranga-API #1 when replacing ./tranga replace #2 with same value
- ./Manga:/Manga
ports:
- 6531:80
@ -12,4 +12,6 @@
image: glax/tranga-website:latest
container_name: tranga-website
ports:
- 9555:80
- 9555:80
volumes:
- ./tranga/imageCache:/usr/share/nginx/html/imageCache #2 when replacing Point to same value as #1/imageCache