agentcooper / react-pdf-highlighter

Set of React components for PDF annotation
https://agentcooper.github.io/react-pdf-highlighter/
MIT License
1.04k stars 407 forks source link

error on demo page - no pdf view #272

Closed flckv closed 2 months ago

flckv commented 4 months ago

"react-pdf-highlighte…32839601376722394:1 Access to fetch at 'https://arxiv.org/pdf/1708.08021.pdf' from origin 'https://agentcooper.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

image

LikeDreamwalker commented 4 months ago

Same issues here and please change the source link

AlfredMadere commented 3 months ago

Still an issue! I can create a pr for this if the maintainer is willing to merge it

agentcooper commented 3 months ago

@AlfredMadere Yes please! I guess Arxiv no longer provides CORS.

agentcooper commented 2 months ago

Fixed in #274.