125
Views
4
Comments
MIME type ('text/html') is not a supported stylesheet MIME type beteween applications

Hello everyone, 


I have an application with BackOffice and I'm doing a proxy to a Portal (other application). 

What happening is, if I have on ServiceCenter (site rules) a rule for this URL with a Root Application defined like "BackOffice", I get the error on console (in attachment) and the file with CSS is not applied. If I change the Root Application to "Portal", I don't have an error and the style is applied. 

There is a way to keep the root application with BackOffice and fix the problem?


Thanks in advance


Diogo Coelho


Error.png
2023-10-25 10-09-21
Luis Filipe Oliveira

Hi Diogo, can you post again the error? When I download, don't show anything

2018-10-09 16-01-17
Diogo Coelho

The error is the next one:

Refused to apply style from 'https://....../BackOffice/CustomHandlers/notfound.aspx?' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Error.png
2018-11-07 11-25-59
xiStoLas

Hi, did you solve it? 

Same happend to me... on Edge, but working on Brave or Chrome.

2023-02-17 15-12-09
Luis Dinis

Hi,

Did someone solved this problem?

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.