You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I'm using pdf viewer version 6.3.2 and it runs fine locally but after build and publish I'm having this issue Refused to create a worker from 'blob
#1067
Open
SolaMuhammad opened this issue
Feb 13, 2024
· 0 comments
Hello everyone, I'm using pdf viewer version 6.3.2 and it runs fine locally but after build and publish I'm having this issue
main-es2015.ebb4db305310d7ca5c7f.js:2 Refused to create a worker from 'blob:websitename/969bca06-13f6-4652-9932-f4783bd7bd1d' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' www.google.comwww.gstatic.com". Note that 'worker-src' was not explicitly set, so 'script-src' is used as a fallback.
_initialize @ main-es2015.ebb4db305310d7ca5c7f.js:2
PDFWorker @ main-es2015.ebb4db305310d7ca5c7f.js:2
getDocument @ main-es2015.ebb4db305310d7ca5c7f.js:2
loadPDF @ main-es2015.ebb4db305310d7ca5c7f.js:2
ngOnChanges @ main-es2015.ebb4db305310d7ca5c7f.js:2
(anonymous) @ main-es2015.ebb4db305310d7ca5c7f.js:2
invokeTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
onInvokeTask @ main-es2015.ebb4db305310d7ca5c7f.js:2
invokeTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
runTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
invokeTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
invoke @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
n.args. @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
main-es2015.ebb4db305310d7ca5c7f.js:2 Warning: Setting up fake worker.
main-es2015.ebb4db305310d7ca5c7f.js:2 Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.5.207/pdf.worker.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' www.google.comwww.gstatic.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
can anyone help please
The text was updated successfully, but these errors were encountered:
Bug Report or Feature Request (mark with an
x
)Hello everyone, I'm using pdf viewer version 6.3.2 and it runs fine locally but after build and publish I'm having this issue
main-es2015.ebb4db305310d7ca5c7f.js:2 Refused to create a worker from 'blob:websitename/969bca06-13f6-4652-9932-f4783bd7bd1d' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' www.google.com www.gstatic.com". Note that 'worker-src' was not explicitly set, so 'script-src' is used as a fallback.
_initialize @ main-es2015.ebb4db305310d7ca5c7f.js:2
PDFWorker @ main-es2015.ebb4db305310d7ca5c7f.js:2
getDocument @ main-es2015.ebb4db305310d7ca5c7f.js:2
loadPDF @ main-es2015.ebb4db305310d7ca5c7f.js:2
ngOnChanges @ main-es2015.ebb4db305310d7ca5c7f.js:2
(anonymous) @ main-es2015.ebb4db305310d7ca5c7f.js:2
invokeTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
onInvokeTask @ main-es2015.ebb4db305310d7ca5c7f.js:2
invokeTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
runTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
invokeTask @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
invoke @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
n.args. @ polyfills-es2015.e516cc033fa4dc2f1c76.js:2
main-es2015.ebb4db305310d7ca5c7f.js:2 Warning: Setting up fake worker.
main-es2015.ebb4db305310d7ca5c7f.js:2 Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.5.207/pdf.worker.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' www.google.com www.gstatic.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
can anyone help please
The text was updated successfully, but these errors were encountered: