I am trying to edit the existing pdf file available in my react js source code. But receive error. Error Given Blow
Access to fetch at 'https://www.google.com/drive/' (redirected from 'http://localhost:3008/path/to/your/file.pdf') from origin 'http://localhost:3008' 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
How did you attempt to do it?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
What actually happened?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
What did you expect to happen?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
How can we reproduce the issue?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
Version
1.17.1
What environment are you running pdf-lib in?
Browser
Checklist
[X] My report includes a Short, Self Contained, Correct (Compilable) Example.
[X] I have attached all PDFs, images, and other files needed to run my SSCCE.
Additional Notes
I am trying to edit the existing pdf file available in my react js source code. But receive error.
What were you trying to do?
I am trying to edit the existing pdf file available in my react js source code. But receive error. Error Given Blow
Access to fetch at 'https://www.google.com/drive/' (redirected from 'http://localhost:3008/path/to/your/file.pdf') from origin 'http://localhost:3008' 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
How did you attempt to do it?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
What actually happened?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
What did you expect to happen?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
How can we reproduce the issue?
I am trying to edit the existing pdf file available in my react js source code. But receive error.
Version
1.17.1
What environment are you running pdf-lib in?
Browser
Checklist
Additional Notes
I am trying to edit the existing pdf file available in my react js source code. But receive error.