Skip to content

Commit

Permalink
Add trailing slash to cMapUrl URL
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Mar 14, 2022
1 parent 20f1938 commit 7dcd63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ import { pdfjs } from 'react-pdf';

<Document
options={{
cMapUrl: `https://unpkg.com/pdfjs-dist@${pdfjs.version}/cmaps`,
cMapUrl: `https://unpkg.com/pdfjs-dist@${pdfjs.version}/cmaps/`,
cMapPacked: true,
}}
/>;
Expand Down

0 comments on commit 7dcd63c

Please sign in to comment.