Некоторые исправления в RSS

This commit is contained in:
Иван Кузьменко 2025-09-19 23:46:13 +03:00
parent 8e09b8f0d9
commit 3190a5b61d
2 changed files with 2 additions and 1 deletions

View file

@ -45,7 +45,7 @@ function getIconFromUrl(url: URL): string | undefined {
const href = url.href;
if (href.startsWith('mailto:'))
return 'email';
if (href.endsWith('/rss.xml'))
if (href.endsWith('/rss.xml') || href.endsWith('/atom.rss'))
return 'rss';
const hostname = url.hostname;