Version 9.4 Font Call Error

On a local set up Google font Bebas not loading, giving error:

@import url(//fonts.googleapis.com/css?family=Montserrat:500);@import url(//fonts.googleapis.com/css?family=Bebas+Neue:500);@import url(//fonts.googleapis.com/css?family=Raleway:800);/*!

Error: The resource from “https://fonts.googleapis.com/css?family=Bebas+Neue:500” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Looked at Google fonts to check import rule. One issue was that there is not a 500 version. So changed to 400 and chained the font calls. All works now.

@import url(//fonts.googleapis.com/css?family=Montserrat:500|Bebas+Neue:400|Raleway:800);/*!

Will post on github.

4 Likes

Great find, @Steevb

For reference, here’s the commit that fixes it in case anyone wants to hotfix it: https://github.com/aembler/concrete5/commit/36cc9dbc4b53ff8f029ca5bf46f230093dfb2657