Skip to content

Commit

Permalink
Merge pull request #99 from mbaraa/dev
Browse files Browse the repository at this point in the history
sneaky merge
  • Loading branch information
mbaraa authored Jul 10, 2024
2 parents e9abeb5 + 5ec2504 commit 4e02e7f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file added app/static/images/frank-cropped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/static/images/logo-big.webp
Binary file not shown.
Binary file modified app/static/images/logo.webp
Binary file not shown.
7 changes: 4 additions & 3 deletions app/static/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,10 @@ function playebackSpeeder() {
* @param {string} songYtId
*/
async function downloadSong(songYtId) {
return await fetch("/api/song?id=" + songYtId).catch((err) =>
console.error(err),
);
return await fetch("/api/song?id=" + songYtId).catch((err) => {
console.error(err);
return { ok: false };
});
}

/**
Expand Down

0 comments on commit 4e02e7f

Please sign in to comment.