forked from MarseyWorld/MarseyWorld
site_preview change for rdrama
parent
5aebc60764
commit
2957db79ce
Binary file not shown.
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 571 KiB |
|
@ -213,7 +213,7 @@ 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=3001"
|
||||
elif self.domain == SITE: return f"{SITE_FULL}/assets/images/{SITE_NAME}/site_preview.webp?v=3008"
|
||||
else: return f"{SITE_FULL}/assets/images/default_thumb_link.webp?v=1"
|
||||
|
||||
@property
|
||||
|
|
|
@ -597,7 +597,7 @@ class User(Base):
|
|||
def banner_url(self):
|
||||
if FEATURES['USERS_PROFILE_BANNER'] and self.bannerurl:
|
||||
return self.bannerurl
|
||||
return f"/i/{SITE_NAME}/site_preview.webp?v=3001"
|
||||
return f"/i/{SITE_NAME}/site_preview.webp?v=3008"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
|
@ -39,5 +39,5 @@ set CACHE_VER = {
|
|||
{%- endmacro -%}
|
||||
|
||||
{%- macro asset_siteimg(name) -%}
|
||||
/i/{{SITE_NAME}}/{{name}}?v=3007
|
||||
/i/{{SITE_NAME}}/{{name}}?v=3008
|
||||
{%- endmacro -%}
|
||||
|
|
Loading…
Reference in New Issue