Hi,
While using browser developer tools I noticed an error in my joomla 4 site (with system debug mode on):
Refused to apply style from 'https://[server]/media/cms/css/debug.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled
I think the issue is that /media/cms/css/debug.css doesn't exist, and the server is returning a 404 page.
This reference to /media/cms/css/debug.css is in the head of index.php. I think this reference is added by Gantry 5 (or the template that uses it, Studius). If the site uses the default joomla 4 template (cassiopeia) the error doesn't show up. Also, if I turn off debug mode, then the error disappears.
There's a file /media/cms/css/debug.css in my joomla 3.10 instance, but not in any of my joomla 4 instances. Instead it's in /media/system/css/debug.css. The files are pretty much identical.