I have a Blazor app published to a test and production environments that exhibits an error after not visiting the app for a while.
The error states "Did not parse stylesheet at '{path to stylesheet}' because non CSS MIME types are not allowed in strict mode."
However, the CSS files on the Network tab of the developer tools can be opened without any issues.
Refreshing the page allows the app to load normally.
To Reproduce
Run a Blazor app on a Windows server with Apache.
After not visiting the app for some amount of time, an error is presented.
Using different browsers doesn't change the behavior.
Exceptions (if any)
Here is a screenshot of the console when presented with the error:
Further technical details
ASP.NET Core version: 5.0.6
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a Blazor app published to a test and production environments that exhibits an error after not visiting the app for a while.
The error states "Did not parse stylesheet at '{path to stylesheet}' because non CSS MIME types are not allowed in strict mode."
However, the CSS files on the Network tab of the developer tools can be opened without any issues.
Refreshing the page allows the app to load normally.
To Reproduce
Run a Blazor app on a Windows server with Apache.
After not visiting the app for some amount of time, an error is presented.
Using different browsers doesn't change the behavior.
Exceptions (if any)
Here is a screenshot of the console when presented with the error:

Further technical details
The text was updated successfully, but these errors were encountered: