forked from MarseyWorld/MarseyWorld
fix rdrama.org thumbnails
parent
b191f426d0
commit
1ed41d80c0
|
@ -224,7 +224,8 @@ class Submission(Base):
|
|||
return self.thumburl
|
||||
elif self.is_youtube or self.is_video: return f"{SITE_FULL}/assets/images/default_thumb_video.webp?v=1"
|
||||
elif self.is_audio: return f"{SITE_FULL}/assets/images/default_thumb_audio.webp?v=1"
|
||||
elif self.domain == SITE: return f"{SITE_FULL}/assets/images/{SITE_NAME}/site_preview.webp?v=3009"
|
||||
elif self.domain.split('.')[0] == SITE.split('.')[0]:
|
||||
return f"{SITE_FULL}/assets/images/{SITE_NAME}/site_preview.webp?v=3009"
|
||||
else: return f"{SITE_FULL}/assets/images/default_thumb_link.webp?v=1"
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue