Skip to content

Commit

Permalink
Merge branch 'LNReader:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Batorian authored Aug 25, 2024
2 parents 51f0274 + fd6d912 commit e49ace5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion android/app/src/main/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ td {
font-family: var(--readerSettings-fontFamily);
font-size: 16px;
border-width: 0;
user-select: none;
}

.next-button {
Expand Down Expand Up @@ -363,4 +364,4 @@ td {
#TTS-Controller.active svg {
width: 24px;
height: 24px;
}
}
3 changes: 2 additions & 1 deletion src/services/download/downloadChapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const downloadFiles = async (
const fileurl = `${folder}/${i}.b64.png`;
elem.attr('src', `file://${fileurl}`);
try {
await downloadFile(url, fileurl, plugin.imageRequestInit);
const absoluteURL = new URL(url, plugin.site).href;
await downloadFile(absoluteURL, fileurl, plugin.imageRequestInit);
} catch (e) {
elem.attr('alt', String(e));
}
Expand Down

0 comments on commit e49ace5

Please sign in to comment.