its MIME type texthtml is not a supported stylesheet MIME typeand strict MIME checking is enabled
This error occurs when the web server is trying to load a stylesheet with a MIME type of 'text/html', which is not a supported MIME type for stylesheets. Strict MIME checking is enabled to prevent browsers from interpreting files incorrectly and potentially causing security vulnerabilities.
To fix this error, you need to ensure that your web server is correctly serving the stylesheet with a supported MIME type, such as 'text/css'. You can do this by configuring your server's MIME types settings or by using a web server that automatically serves stylesheets with the correct MIME type.
Alternatively, you can try changing the file extension of your stylesheet to '.css', which may help the server recognize it as a stylesheet and serve it with the correct MIME type.
原文地址: https://www.cveoy.top/t/topic/HJg 著作权归作者所有。请勿转载和采集!