Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
fix hitomi history cover
Browse files Browse the repository at this point in the history
  • Loading branch information
wgh136 committed Sep 18, 2024
1 parent 54d47a4 commit fb146b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/comic_source/built_in/hitomi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ final hitomi = ComicSource.named(
comicPageBuilder: (context, id, cover) {
return HitomiComicPage.fromLink(id, cover: cover);
},
getThumbnailLoadingConfig: (url) {
return {
"headers": {"User-Agent": webUA, "Referer": "https://hitomi.la/"},
};
},
);

class _HiComicTile extends ComicTile {
Expand Down

0 comments on commit fb146b1

Please sign in to comment.