-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not open file using S3 signed URL #123
Comments
Can you try by adding prefetch method like below: <DocViewer |
Agreed, this does not work with S3. How does one work with this? |
Is there a fix for this??? |
any fix for this please? |
Try adding the For example: |
Make sure that your s3 bucket cors permission is allowed from localhost Check here |
Hii , I have a same problem with it.
and this one failed to access s3 signed url so i have used google api >
and make a custom render function with react-doc-viewer This solution worked for me Code --
// Preview
Note - It's necessary to provide fileType on uri array |
I have tried to open a pdf file from AWS S3 using S3 signed URL with GET but its not working as doc-viewer creates HEAD request to S3 endpoint.
Even I configured S3 CORS settings.
The text was updated successfully, but these errors were encountered: