Skip to content

Commit

Permalink
Update index.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung authored Nov 22, 2024
1 parent 8cb58ae commit e978857
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utility/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ export const getTeamLogoUrl = (logoUrl) => {
return '';
}
// Use proxy layer to serve team logos
if (logoUrl.indexOf('/ugc') !== -1) {
return `${config.VITE_API_HOST}${logoUrl.substr(logoUrl.indexOf('/ugc'))}`;
}
// if (logoUrl.indexOf('/ugc') !== -1) {
// return `${config.VITE_API_HOST}${logoUrl.substr(logoUrl.indexOf('/ugc'))}`;
// }
return logoUrl;
};

Expand Down

0 comments on commit e978857

Please sign in to comment.