美文网首页
解决Typecho博客全球通用头像Gravatar不显示方法:替

解决Typecho博客全球通用头像Gravatar不显示方法:替

作者: 众味 | 来源:发表于2020-02-19 04:05 被阅读0次

    替换方法

    直接打开 Typecho 安装目录下的 config.inc.php 文件,加入以下代码即可(加在任何位置都可)

    define('__TYPECHO_GRAVATAR_PREFIX__', 'https://cdn.v2ex.com/gravatar/');
    

    PS:此方法只在 Typecho1.1版测试过,其他版本我还没测试。

    可用的地址

    https://cdn.v2ex.com/gravatar/
    https://cdn.v2ex.com/gravatar/
    https://secure.gravatar.com/avatar/
    https://gravatar.cat.net/avatar/

    相关文章

      网友评论

          本文标题:解决Typecho博客全球通用头像Gravatar不显示方法:替

          本文链接:https://www.haomeiwen.com/subject/cisofhtx.html