Skip to content

Commit

Permalink
Fix Twitter link on profile pages to be https://
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Gyerik committed Oct 4, 2023
1 parent 8331124 commit 444dff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneliners/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class HackerProfile(models.Model):

def twitter_url(self):
if self.twitter_name:
return 'http://twitter.com/%s/' % self.twitter_name
return 'https://twitter.com/%s/' % self.twitter_name

def get_username(self):
return self.user.username
Expand Down

0 comments on commit 444dff7

Please sign in to comment.