Skip to content

Commit

Permalink
update proxyUrl for limited access books
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiequach committed Jul 25, 2024
1 parent 1b55f06 commit 6117af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReaderLayout/ReaderLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const ReaderLayout: React.FC<{
{isRead && !isLoading && (
<WebReader
webpubManifestUrl={manifestUrl}
proxyUrl={proxyUrl}
proxyUrl={!isLimitedAccess ? proxyUrl : undefined}
pdfWorkerSrc={pdfWorkerSrc}
headerLeft={<BackButton />}
injectablesFixed={injectables}
Expand Down

0 comments on commit 6117af5

Please sign in to comment.