Replies: 2 comments
-
Your path for That API read from your file system, without knowing about your project, so Try a relative path instead, like "public/My_Resume.pdf", or "../public/My_Resume.pdf" (add ../ until it works) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've adjusted to use a relative path but it still doesn't work for me. I get this error:
The commented out code (the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to render a PDF stored in my
/public
folder but I get "Failed to load pdf document" error. I've looked at this prior discussion but the solution doesn't seem to work for me. I've attached images of my code for reference.Beta Was this translation helpful? Give feedback.
All reactions