« get me outta code hell

fix cover images being broken, lol - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2020-11-03 08:54:41 -0400
committer(quasar) nebula <towerofnix@gmail.com>2020-11-03 08:54:41 -0400
commita1c827af7dd988af50369127618368e1c1bec652 (patch)
treeca9efeb88f368bb1a2d1713090e2ab5cd31bec6c
parent65208264d49e863d63e30d6d193fe28a6ec52601 (diff)
fix cover images being broken, lol
-rw-r--r--upd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index d6a60a1..2479902 100644
--- a/upd8.js
+++ b/upd8.js
@@ -2578,7 +2578,7 @@ function getTrackCover(track) {
     }
 }
 function getFlashCover(flash) {
-    const file = `${getFlashDirectory(flash)}.${flash.jiff === 'Yeah' ? 'gif' : 'png'}`;
+    const file = `${getFlashDirectory(flash)}.${flash.jiff === 'Yeah' ? 'gif' : 'jpg'}`;
     return `${C.MEDIA_DIRECTORY}/${C.MEDIA_FLASH_ART_DIRECTORY}/${file}`;
 }