cyntler / cyntler/react-doc-viewer
Unable to render doc from https URL
Open
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
**Unable to render doc from https URL**
Whilre trying to load a docx file via a signed url, it throws the below Exception:
```
Failed to compile.
./node_modules/pdfjs-dist/build/pdf.js 389:20
Module parse failed: Unexpected token (389:20)
You may need an appropriate loader to handle this file type.
| }
| function _isValidProtocol(url) {
> switch (url?.protocol) {
| case "http:":
| case "https:":
```
Anyways to resolve this issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.