diff --git a/js/app.js b/js/app.js index 089d8e82..b24796f2 100644 --- a/js/app.js +++ b/js/app.js @@ -150,7 +150,7 @@ const recordVideoViewApi = (...args) => recordVideoView(nostrClient, ...args); const UNSUPPORTED_BTITH_MESSAGE = "This magnet link is missing a compatible BitTorrent v1 info hash."; -const FALLBACK_THUMBNAIL_SRC = "assets/jpg/video-thumbnail-fallback.jpg"; +const FALLBACK_THUMBNAIL_SRC = "/assets/jpg/video-thumbnail-fallback.jpg"; const VIDEO_EVENT_KIND = 30078; const HEX64_REGEX = /^[0-9a-f]{64}$/i; /** diff --git a/js/channelProfile.js b/js/channelProfile.js index 86fe3343..0d33fb1f 100644 --- a/js/channelProfile.js +++ b/js/channelProfile.js @@ -4560,7 +4560,7 @@ export async function renderChannelVideosFromList({ typeof value === "number" ? value.toLocaleString() : value }, assets: { - fallbackThumbnailSrc: "assets/jpg/video-thumbnail-fallback.jpg", + fallbackThumbnailSrc: "/assets/jpg/video-thumbnail-fallback.jpg", unsupportedBtihMessage }, state: { loadedThumbnails }, diff --git a/js/subscriptions.js b/js/subscriptions.js index f8588d4a..f8e27c3a 100644 --- a/js/subscriptions.js +++ b/js/subscriptions.js @@ -1223,7 +1223,7 @@ class SubscriptionsManager { }; const assets = baseView?.assets || { - fallbackThumbnailSrc: "assets/jpg/video-thumbnail-fallback.jpg", + fallbackThumbnailSrc: "/assets/jpg/video-thumbnail-fallback.jpg", unsupportedBtihMessage: "This magnet link is missing a compatible BitTorrent v1 info hash." };