From b63bd4197355a48bf14ea680004728aa0118a59a Mon Sep 17 00:00:00 2001 From: szbk Date: Sat, 20 Dec 2025 00:25:48 +0300 Subject: [PATCH] =?UTF-8?q?feat(rabbit):=20video=20oynat=C4=B1c=C4=B1ya=20?= =?UTF-8?q?hata=20ay=C4=B1klama=20loglar=C4=B1=20ekle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/routes/Rabbit.svelte | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/client/src/routes/Rabbit.svelte b/client/src/routes/Rabbit.svelte index 4a91518..b582d2d 100644 --- a/client/src/routes/Rabbit.svelte +++ b/client/src/routes/Rabbit.svelte @@ -42,6 +42,16 @@ .map((seg) => encodeURIComponent(seg.trim())); const relPath = segments.join("/"); const url = `${API}/downloads/${safeFolder}/${relPath}`; + + // Debug: console'a URL yazdır + console.log("🎥 Video URL Debug:", { + folderId: item.folderId, + file: item.file, + safeFolder, + relPath, + finalUrl: withToken(url) + }); + return withToken(url); } @@ -91,7 +101,18 @@
{selected.title}
{#if videoUrl(selected)} - + {:else}
Video yolu bulunamadı
{/if}