Cross-Origin request warning for google fonts

前端 未结 4 2148
生来不讨喜
生来不讨喜 2021-02-19 00:12

I am using Google Webfonts on my website. In the console on Chrome I get the following warning:

Blink is considering rejecting non spec-compliant cross-or

4条回答
  •  深忆病人
    2021-02-19 00:43

    Ok, so clearly Google Fonts allows cross-domain access or their service wouldn't be much use.

    The explanation for my particular problem is that I'm on a corporate internet connection. It must use some proxy that is stripping out access control headers from web responses. This causes the browser to give warnings or failures when loading the resources.

    I've contacted IT warning them about their misconfigured proxy and hopefully this will be fixed.

提交回复
热议问题