CSS style is not rendering. showing that MIME type is (text/html)

when i open the web interface it is not rendering the css


Then in the console, this error pops up. I am not sure why and i checked the php code and nothing wrong was appearing in it.

TIA

As is so often the case, the necessary information to be able to answer this question satisfactorily is unfortunately missing. Neither an operating system nor the web server used are specified.

I will try to help you, asuming you ar on a Debian like OS (Ubuntu etc.) with apache2 as webserver:

what is the output of this comand:

grep css $(grep ^TypesConfig $(sudo apachectl -t -D DUMP_INCLUDES 2>/dev/null | grep mime.conf | awk '{print $NF}') | awk '{print $NF}')

If your OS or web server is different, this command does not work and you may have to look on other places.

Hi @ernolf,
Sorry for the incomplete information. I am on a raspberry Pi running nextcloudpi.
The above command is not providing any output.

Wrong category / sub category.

I’m out, since pi is not my world. Sorry.