Skip to content

Commit

Permalink
Remove width from getPosterUrl defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Arasteh authored Feb 1, 2025
1 parent 992a4c7 commit 9c9d340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@
});


const getPosterUrl = (name, hash, width = 600) => {
const getPosterUrl = (name, hash, width) => {
if (!name) return 'https://upload.wikimedia.org/wikipedia/commons/8/82/NoImageEn.svg';
return `https://upload.wikimedia.org/wikipedia/commons/thumb/${hash[0]}/${hash}/${name}/600px-${name}`;
};
Expand Down

0 comments on commit 9c9d340

Please sign in to comment.