Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 AVATAR_PROXY #607

Closed
jerryc127 opened this issue Oct 17, 2021 · 2 comments
Closed

关于 AVATAR_PROXY #607

jerryc127 opened this issue Oct 17, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jerryc127
Copy link
Contributor

新版本的 AVATAR_PROXY 是反代
那怎么设置 默认的头像
我看 https://wiki.libravatar.org/api/ 是支持设置默认头像的
那是否考虑添加一个配置

如果设置了 avatar, 会变回旧的形式

@Mister-Hope Mister-Hope added the enhancement New feature or request label Oct 17, 2021
@lizheming
Copy link
Collaborator

之后增加一个配置,用于配置 Gravatar 头像地址吧,大概类似这种格式 GRAVATAR_URL: 'https://seccdn.libravatar.org/gravatarproxy/{{mail}}?s=80'

@lizheming
Copy link
Collaborator

lizheming commented Oct 30, 2021

你好,现在增加了 GRAVATAR_STR 环境变量可以支持你自定义输出头像地址参数了。更新服务端版本到 1.2.3 后按照下面这个配置试一下

https://seccdn.libravatar.org/gravatarproxy/{{mail|md5}}?s=80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants