Hi
In our aplication all the library files gets bundled into one lilb,js where pdf.js and pdf.worker.js also part of bundle
whenever we give valid url to $scope.pdfUrl, it looks for lib.worker.js because of this line return pdfjsFilePath.replace(/.js$/i, '.worker.js');
getting 404 not found since it is not present
If i comment this line and return pdfjsFilePath alone it works
Is this the only way to handle or any other configuration available
Hi In our aplication all the library files gets bundled into one lilb,js where pdf.js and pdf.worker.js also part of bundle
whenever we give valid url to $scope.pdfUrl, it looks for lib.worker.js because of this line return pdfjsFilePath.replace(/.js$/i, '.worker.js'); getting 404 not found since it is not present If i comment this line and return pdfjsFilePath alone it works
Is this the only way to handle or any other configuration available