Skip to content

Commit cf71f16

Browse files
committed
closes #19
1 parent 9f6a76c commit cf71f16

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/manga/MangaDetails.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export default function MangaDetails(props: IProps) {
233233
</IconButton>
234234
</div>
235235
{ /* eslint-disable-next-line react/jsx-no-target-blank */ }
236-
<a href={manga.url} target="_blank">
236+
<a href={manga.realUrl} target="_blank">
237237
<IconButton>
238238
<PublicIcon />
239239
<span>Open Site</span>

src/typings.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ interface IManga {
5252
inLibrary: boolean
5353
source: ISource
5454

55+
realUrl: string
56+
5557
freshData: boolean
5658
}
5759

0 commit comments

Comments
 (0)