From b572fa6ba2e24717c5a1fbe2d9fec4104253d416 Mon Sep 17 00:00:00 2001 From: Mark Beacom Date: Thu, 1 Feb 2018 02:52:16 -0500 Subject: [PATCH] Update local_avatar_url to use base_url vs hardcoded gitcoin.co --- app/dashboard/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/models.py b/app/dashboard/models.py index e260814ea0e..12d4988dd5a 100644 --- a/app/dashboard/models.py +++ b/app/dashboard/models.py @@ -685,7 +685,7 @@ def github_url(self): @property def local_avatar_url(self): - return "https://gitcoin.co/funding/avatar?repo={}&v=3".format(self.github_url) + return f"{settings.BASE_URL}funding/avatar?repo={self.github_url}&v=3" @property def absolute_url(self):