I have added custom CSS and JS on the page and I receive the message in the browser console, that is
CSS was ignored due to mime type mismatch
I checked the paths of the CSS files and they are all correct. I searched the Internet for the same problem and applied the following paths, but none worked.
I installed the Core update on SharePoint available here.
I installed the language update package available here
It has been verified that the Static Content function is installed on the machine
Mime Type is available in IIS
Check the registry for the CSS and it has the proper file type mentioned, i.e. text / css.
The above solutions did not work.
The interesting part is– When I am loading the same CSS from SharePoint Hive (15) it is loading correctly.
Can someone help me solve the problem?
Ambient: Windows Server 2019 SP2019 Standard Assessment