MGrin / mgr-pdf-viewer-react

React PDF Viewer component
MIT License
72 stars 24 forks source link

Unable to fetch #43

Closed FranciscoMateusVG closed 3 years ago

FranciscoMateusVG commented 3 years ago

Good night guys! I am having a problem to fetch the pdf with the Url string.

If i use: <PDFViewer className={"seElaDancaEuDanco"} document={{ url: "http://www.africau.edu/images/default/sample.pdf", }} scale={scale} navigation={CustomNavigation} />

I get this error image1

And when i use chrome dev tools to se the request, this is what appears: image2

All others Urls that i am testing show that same exact problem, the only one that works is the one used as example in the documentation (https://arxiv.org/pdf/quant-ph/0410100.pdf)