remove debug
All checks were successful
deploy / deploy (push) Successful in 47s

This commit is contained in:
Lee 2023-10-18 03:15:49 +01:00
parent e9616c8d4c
commit 375820c945
2 changed files with 0 additions and 3 deletions

@ -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;

@ -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: {