Skip to content

Commit

Permalink
cover_url split '?'
Browse files Browse the repository at this point in the history
  • Loading branch information
smoralis committed Aug 5, 2023
1 parent 183ec78 commit 1ed4dbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions profile/themes/footuner/js/lastfm_cover.js
Expand Up @@ -50,6 +50,7 @@ function delete_cover() {

function lfm_download() {
cover_url = tfo.cover_url.Eval();
cover_url = cover_url.split('?')[0];
if (cover_url && cover_url.match("^https?:\\/\\/.+\\.(jpg|jpeg|png|webp|avif|gif|svg)$")) {
cover_url = cover_url.split('?')[0];
loaded = 0;
Expand Down

0 comments on commit 1ed4dbd

Please sign in to comment.