Skip to content

Commit

Permalink
Update local_avatar_url to use base_url vs hardcoded gitcoin.co
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeacom committed Feb 1, 2018
1 parent e9a82b3 commit b572fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b572fa6

Please sign in to comment.