From 5fe7029b6edcac4567b60c20c3fbedf414bec11e Mon Sep 17 00:00:00 2001 From: Isaiah Billingsley Date: Fri, 27 Mar 2026 16:03:03 -0400 Subject: [PATCH] Change cover image mime type (not sure if this actually matters) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a70cbd8..9f269a6 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,7 @@ let duration = 0; async function updateMapInfo(data) { const custom = data.level_id.startsWith("custom_level_"); const wip = custom && data.level_id.endsWith("WIP"); - cover.src = data.coverRaw ? `data:image/png;base64,${data.coverRaw}` : "images/unknown.svg"; + cover.src = data.coverRaw ? `data:image/jpeg;base64,${data.coverRaw}` : "images/unknown.svg"; title.textContent = data.name || ""; subTitle.textContent = data.sub_name || ""; artist.textContent = data.artist || "";