luofei614 / SocketLog

微信调试、API调试和AJAX的调试的工具,能将日志通过WebSocket输出到Chrome浏览器的console中
1.13k stars 300 forks source link

访问有些使用cdn字体的网站会冲突报错,请问如何解决? #53

Open staisv opened 5 years ago

staisv commented 5 years ago

错误信息: Access to font at 'https://fonts.gstatic.com/s/googlesans/v14/4UaGrENHsxJlGDuGo1OIlL3Owp4.woff2' from origin 'https://developers.google.com' has been blocked by CORS policy: Request header field socketlog is not allowed by Access-Control-Allow-Headers in preflight response.

感觉是触发了跨域限制; 关闭socketlog插件后就不报错了。