This commit is contained in:
Aevann1 2021-12-17 08:20:22 +02:00
parent 6d8ff75daf
commit 6d9727d0b8
2 changed files with 3 additions and 3 deletions

View file

@ -446,7 +446,7 @@ class User(Base):
@property
@lazy
def full_profileurl(self):
if self.profile_url.startswith('/'): return 'https://rdrama.net' + self.profile_url
if self.profile_url.startswith('/'): return f'https://{site}' + self.profile_url
return self.profile_url
@property