Trying to use PDF JS in a local Apache server and receiving the following error in console:
Uncaught Error: No PDFJS.workerSrc specified
Th
Go to pdf.js
search function getWorkerSrc()
replace this lines
pdfjsFilePath = "YOUR_PATH_TO_JS_FILE/pdf.worker.js"; if (pdfjsFilePath) { return pdfjsFilePath; }