From 375820c945a56ea8b42e10e200db4beefbbf5352 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 18 Oct 2023 03:15:49 +0100 Subject: [PATCH] remove debug --- src/components/Player/SongCover.svelte | 2 -- src/network/fetch.js | 1 - 2 files changed, 3 deletions(-) diff --git a/src/components/Player/SongCover.svelte b/src/components/Player/SongCover.svelte index f2e0da4..baba5a5 100644 --- a/src/components/Player/SongCover.svelte +++ b/src/components/Player/SongCover.svelte @@ -34,8 +34,6 @@ $: ssCoverUrl = hash ? `${SS_CDN_HOST}/covers/${encodeURIComponent(hash.toUpperCase())}.png` : null; $: beatSaverCoverUrl = leaderboard?.beatMaps?.versions?.[0]?.coverURL ?? null; - console.log(leaderboard) - $: preloadImages([{url: ssCoverUrl, priority: 10}, {url: beatSaverCoverUrl, priority: 15}]); $: coverUrl = loadedImages.length ? (loadedImages.sort((a, b) => a?.priority - b?.priority))[0].url : DEFAULT_IMG; diff --git a/src/network/fetch.js b/src/network/fetch.js index e214f3f..7fa18e8 100644 --- a/src/network/fetch.js +++ b/src/network/fetch.js @@ -78,7 +78,6 @@ const setCacheIfNeeded = (response, cacheKey, cacheTtl) => { export async function fetchUrl(url, options = {}, cors = true) { try { - console.log(ssrConfig.name); const response = await fetch(url, { ...options, headers: {