SOLVED pdfjs worker optiosn url issue
I just solved this seconds before posting.
If your PDF isn't showing this is probably it
and
pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.workermin.js`; /.mjs all do not work ive pinned it down with an insane amount of error statements and console logs. to this is not working
Does anyone have the proper URL
pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.mjs`;
Im just going to give you guys this one, i couldn't see the . between worker and min on the video on my screen because of sizes
Look at all these logs in my console, I took some out once i cleared certain parts too geez one . one freaking .
1
4 comments
Digitl-Alchemyst Steven-Watkins
7
SOLVED pdfjs worker optiosn url issue
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by