Skip to content

Commit

Permalink
Update ContentRenderer.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
TanmayDhobale authored Jun 14, 2024
1 parent 0886e99 commit cd9ccc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/admin/ContentRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ export const getMetadata = async (contentId: number) => {

const otherQualities = ['720', '360'];
for (const quality of otherQualities) {
const urlKey = `${quality}`;
const isAccessible = await isUrlAccessible(mainUrls[urlKey]);
const isAccessible = await isUrlAccessible(mainUrls[quality]);
if (isAccessible) {
return mainUrls;
}
Expand Down

0 comments on commit cd9ccc9

Please sign in to comment.