Refused to apply style from '<URL>' because its MIME type ('text/html') pythonanywhere

Refused to apply style from '' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

i dont have any problem in vscode but when i hosted into pythonanywhere i cant even login into admin panel and the css from admin panel is not working

You're probably getting that because it's a 404 page because your are not serving the file that you are trying to access. Search for "static" in the PythonAnywhere forums to find out how to configure static files.

Back to Top