Skip to content

Commit 87bd99f

Browse files
committed
fix: correct URL formatting for logo retrieval in getCachedSites function
1 parent 0d8eb6a commit 87bd99f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/trust/src/app/api/get-sites/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const getCachedSites = cache(async () => {
2828
.filter((website): website is string => Boolean(website))
2929
.map((website) => {
3030
const domain = website.replace(/^https?:\/\//, '').replace(/^www\./, '');
31-
return `https://img.logo.dev/${domain}?token=pk_QtKMUKc7QOKZmbzLG3Q8NQ&retina=true4`;
31+
return `https://img.logo.dev/${domain}?token=pk_QtKMUKc7QOKZmbzLG3Q8NQ&retina=true`;
3232
});
3333

3434
return logoUrls;

0 commit comments

Comments
 (0)