我正在尝试使用谷歌字体'Oswald'.当我以推荐的方式将其嵌入我的页面时:
<link href='http://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'>
Run Code Online (Sandbox Code Playgroud)
Chrome会引发以下错误:
XMLHttpRequest cannot load http://fonts.googleapis.com/css?family=Oswald:400,300,700. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<<redacted>>' is therefore not allowed access.
Run Code Online (Sandbox Code Playgroud)
这只是谷歌的一个错误,还是我做错了什么?