Changing the gravatar url to be http/https depending on currently used protocol

remotes/origin/enhancement/email-actions
Jesús Espino 2014-08-19 09:06:57 +02:00
parent db3b85c65a
commit e4bfb6ea5a
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from django.conf import settings
from taiga.base.utils.urls import get_absolute_url from taiga.base.utils.urls import get_absolute_url
GRAVATAR_BASE_URL = "http://www.gravatar.com/avatar/{}?{}" GRAVATAR_BASE_URL = "//www.gravatar.com/avatar/{}?{}"
def get_gravatar_url(email: str, **options) -> str: def get_gravatar_url(email: str, **options) -> str: