this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Port domain format from Trending

+3 -1
+3 -1
src/components/status.jsx
··· 1714 1714 if (snapStates.unfurledLinks[url]) return null; 1715 1715 1716 1716 if (hasText && (image || (type === 'photo' && blurhash))) { 1717 - const domain = new URL(url).hostname.replace(/^www\./, ''); 1717 + const domain = new URL(url).hostname 1718 + .replace(/^www\./, '') 1719 + .replace(/\/$/, ''); 1718 1720 let blurhashImage; 1719 1721 if (!image) { 1720 1722 const w = 44;