Skip to content

Commit

Permalink
removed prefixed server location
Browse files Browse the repository at this point in the history
  • Loading branch information
koustov committed Aug 13, 2022
1 parent 67ec755 commit 385cfc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/playlists/PlayMeta.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ function PlayMeta() {
* Try to Fetch the local cover image
*/
const response = await import(`plays/${playObj.slug}/cover.png`);
setLocalImage(getLocalPlayCoverURL(response.default));
setLocalImage(response.default);
} catch (_error) {
/**
* On error set the default image
*/
setLocalImage(getLocalPlayCoverURL(thumbPlay));
setLocalImage(thumbPlay);
}
}, []);

Expand Down

0 comments on commit 385cfc0

Please sign in to comment.