You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled Rejection (UnexpectedResponseException):
Unexpected server response (0) while retrieving PDF "http://www.neeq.com.cn/disclosure/2014/1231/64673196.pdf".
and this on the console:
Warning: Setting up fake worker.
XMLHttpRequest cannot load http://www.neeq.com.cn/disclosure/2014/1231/64673196.pdf.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:3000' is therefore not allowed access.
while network request of this PDF yields 206 Partial Content.
This PDF is not on my server, it's other people's server, I can't change CORS setting of it. How can I get this PDF file without CORS problem?
We just rely on the pdf.js library internally, so there's not much that we can do about this bug. There looks to be some documentation on their repo about how to get it going:
It leaves this on the screen:
and this on the console:
while network request of this PDF yields
206 Partial Content
.This PDF is not on my server, it's other people's server, I can't change CORS setting of it. How can I get this PDF file without CORS problem?
code:
The text was updated successfully, but these errors were encountered: