non CSS MIME type distribution of CSS files
Chrome: Refused to apply style from 'https://lifechurch.j-m.zip/css/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Firefox: Did not parse stylesheet at 'https://lifechurch.j-m.zip/css/style.css' because non CSS MIME types are not allowed in strict mode.
These are the errors that I receive from my CSS files. I am using Hugo to build the project. I have seen some posts that refer to using a worker/pages function to actually change the header, but this seems unreasonable as I shouldn't have to risk extra costs if I somehow managed to reach the functions limits. I don't think this is the desired results that Cloudflare is trying to acheive.
I have attempted to use the
Is there a resolution for this level of error? Perhaps an function would work, but I don't know what filename I'd put out since I need it to apply to
Firefox: Did not parse stylesheet at 'https://lifechurch.j-m.zip/css/style.css' because non CSS MIME types are not allowed in strict mode.
These are the errors that I receive from my CSS files. I am using Hugo to build the project. I have seen some posts that refer to using a worker/pages function to actually change the header, but this seems unreasonable as I shouldn't have to risk extra costs if I somehow managed to reach the functions limits. I don't think this is the desired results that Cloudflare is trying to acheive.
I have attempted to use the
_headers file to configure /css/*.css and /css/style.css (as that is my css output filename), but neither of these have worked.Is there a resolution for this level of error? Perhaps an function would work, but I don't know what filename I'd put out since I need it to apply to
/**/*.css