I just did a sandbox refresh from our production sandbox, and I am trying to make sure the community still works. In the community in production, we added static resource css files to the markup head in the following format:
This was working in the production community, but after refreshing this other sandbox, none of the CSS or other scripts in the head markup is loading. They generate the error below:
Refused to apply style from
<URL> because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
After looking at the mime type on the static resources, they are still the correct text/css or js mime types.
Is there some setting I need to enable to allow for the community to load these CSS and js files?