我在我的网站上实现了typekit。
而且它工作得很好!我拿到字体了!
但我在web控制台上得到了以下错误:
https://use.typekit.net/.js Failed to load resource: the server responded with a status of 404 ()我像这样实现它:
<script src="//use.typekit.net/{here i put my code}.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>typekit脚本似乎试图加载文件https://use.typekit.net/.js
但是字体仍然是加载的!
发布于 2018-02-21 14:30:34
{here i put my code}.js是问题所在。{}之间只是一个示例,但需要将其更改为一个真实的js名称,如下所示: thisismyjs.js
https://stackoverflow.com/questions/45607416
复制相似问题