forked from MarseyWorld/MarseyWorld
fsddfs
parent
0af51e3809
commit
fbbae48405
|
@ -223,13 +223,13 @@ class Submission(Base):
|
|||
@property
|
||||
@lazy
|
||||
def full_thumb(self):
|
||||
if self.thumb_url.startswith('/'): return 'https://rdrama.net' + self.thumb_url
|
||||
if self.thumb_url.startswith('/'): return f'https://{site}' + self.thumb_url
|
||||
return self.thumb_url
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def full_url(self):
|
||||
if self.url.startswith('/'): return 'https://rdrama.net' + self.url
|
||||
if self.url.startswith('/'): return f'https://{site}' + self.url
|
||||
return self.url
|
||||
|
||||
@property
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue