Skip to content

Specify css type for the global.css import

Cédric Willekens requested to merge fix-mime-type-error into development

What does this mr do?

Stop the following error from occuring:

Refused to apply style from 'http://localhost:8081/css/global.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Actions taken to fix bug

Force the glboal.css import to be of type css instead of being automatically infered.

Does this MR meet the acceptance criteria?

  • I have added a changelog entry to reflect the significant changes I made and the bug I fixed.
  • A test was created to test the bug.
  • I have updated the documentation accordingly.
  • I adhere to the style guide.

Merge request reports