-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
I am using this code to load a pdf,
import DocViewer, { DocViewerRenderers } from 'react-doc-viewer';
function DocViewerFile() {
const docs = [
{
uri: 'http://10.6.0.220/testing2/560RCR01_DS_en.pdf',
},
];
return <DocViewer pluginRenderers={DocViewerRenderers} documents={docs} />;
}
export default DocViewerFile;
but I am not able to load that pdf on browser. This is the screenshot -

http://10.6.0.220/testing2/560RCR01_DS_en.pdf is the valid link- I see a PDF on the browser when I put this URL in the browser directly.
Any idea, what is missing here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels