Res mimetype 404 with net spa + angular

WebViewer Version: 8.4.0

Do you have an issue with a specific file(s)? Res files
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? Yes
Is your issue related to annotations? No

Please give a brief summary of your issue:
I am using .net 6 SPA with angular 13. Locally, the web viewer works perfectly: it can load all files it requests from my angular assets folder. On dev, however, I get 404 from certain files, such as the PdfNet.res file. I have followed the instructions to add mime maps to my config in Startup.cs, but the problem is still present.

The app is deployed on azure app services using the --prod angular flag (if that matters).

Thank you!

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:



We’re looking into this issue, thanks for your patience.



Please take a look at these links below and see if they help.



This ended up being a mimetype issue on our server. Thank you for your time.

No problem. Glad to help.