diff --git a/html/index.html b/html/index.html index e80db5d..354bb71 100644 --- a/html/index.html +++ b/html/index.html @@ -20,6 +20,11 @@ "https://www.adam-french.co.uk/api/spotify", ); const data = await res.json(); + if (this.playing == false) { + this.album_image = "/img/Untitled.png"; + return; + } + this.album_image = data.album_image; this.artist_name = data.artist_name; this.song_name = data.song_name;