mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
@@ -56,7 +56,7 @@ const EPUBPreview: FC<{ file: OdFileObject }> = ({ file }) => {
|
||||
}}
|
||||
>
|
||||
<ReactReader
|
||||
url={`/api/raw/?path=${asPath}${hashedToken ? '&token=' + hashedToken : ''}`}
|
||||
url={`/api/raw/?path=${asPath}${hashedToken ? '&odpt=' + hashedToken : ''}`}
|
||||
getRendition={rendition => fixEpub(rendition)}
|
||||
loadingView={<Loading loadingText={t('Loading EPUB ...')} />}
|
||||
location={location}
|
||||
|
||||
Reference in New Issue
Block a user