feat: independent cdn

This commit is contained in:
Cory Dransfeldt 2024-06-07 10:56:50 -07:00
parent 152f7f89d3
commit 38cca61033
No known key found for this signature in database
25 changed files with 125 additions and 123 deletions

View file

@ -62,7 +62,7 @@
{%- when 'movie' -%}
{%- assign ogImage = movie.backdrop -%}
{%- when 'show' -%}
{%- assign ogImage = meta.url | append: '/media/shows/backdrops/backdrop-' | append: show.tmdb_id | append: '.jpg' -%}
{%- assign ogImage = 'https://coryd-dev.b-cdn.net/shows/backdrops/backdrop-' | append: show.tmdb_id | append: '.jpg' -%}
{%- when 'genre' -%}
{%- assign genreArtist = genre.artists | shuffleArray | first -%}
{%- assign ogImage = genreArtist.image -%}