I'm trying to use the font Product Sans in my website, and when I use
@import url(https://fonts.gstatic.com/s/productsans/v12/pxidypQkot1TnFhsFMOfGShVEueIaEx8qw.woff2);
It logs this error in the console:
Refused to apply style from 'https://fonts.gstatic.com/s/productsans/v12/pxidypQkot1TnFhsFMOfGShVEueIaEx8qw.woff2' because its MIME type ('font/woff2') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
However, the font is still actually applied to all the texts, so what's the problem?