/assets/pdf-4.0.851.min.mjs Request Method: GET Status Code: 404 Not Found #2225
-
The ngx-extended-pdf-viewer working locally after I deploy the code, I am getting BASEURL/assets/pdf-4.0.851.min.mjs Request Method: GET Status Code: 404 Not Found please tell me how do I solve this problem |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
No idea... but I'd start with the simple stuff. Maybe the file really isn't there. What happens when you open the link in a new tab? |
Beta Was this translation helpful? Give feedback.
-
Hi, i have the same issue, but in my local project. How did you fix it? Did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
My problem was that this part
Had somehow been removed from assets section in the angular.json file. |
Beta Was this translation helpful? Give feedback.
Hi @Cheilanthe in your project make sure to allow the mjs files to load. on web.config file you have to write this
<mimeMap fileExtension=".mjs" mimeType="text/javascript" />
If any doubt replay here