crabbly / crabbly/Print.js

Warning: Invalid absolute docBaseUrl

Open
#606 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
688
PR merge metrics
No merged PRs in 30d

Description

i got little warning here dunno what just going on.
```
Warning: Invalid absolute docBaseUrl: "blob:https://kwarda.lanis.co.id/c8aede8b-a8de-43b1-b79d-ec44cf700121". pdf.worker.js:1114:13
```
code:
```
fetch(document.querySelector("#qrcodefile").data)
.then(qr => qr.blob())
.then(blob => {
printJS({
printable: URL.createObjectURL(blob),
type: 'pdf',
showModal: true
});
});
```

even though with simple call, facing the same issue
```
printJS("justTry.pdf");
```
here my browser version
thanks
![Screenshot from 2021-10-22 15-38-29](https://user-images.githubusercontent.com/33443311/138422423-10e9009f-700b-4aea-ba2d-60cc6b811e36.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.