Skip to content

Commit

Permalink
Add RssChannel to relations not to follow
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Apr 21, 2018
1 parent 7ce2157 commit f5aa890
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/subfont.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ module.exports = async ({
$or: [
{
type: {
$nin: [...anchorTypes, ...resourceHintTypes, 'HtmlOpenGraph']
$nin: [
...anchorTypes,
...resourceHintTypes,
'HtmlOpenGraph',
'RssChannelLink'
]
}
},
{ type: { $nin: resourceHintTypes }, crossorigin: false }
Expand All @@ -47,7 +52,8 @@ module.exports = async ({
...anchorTypes,
...resourceHintTypes,
'HtmlAlternateLink',
'HtmlOpenGraph'
'HtmlOpenGraph',
'RssChannelLink'
]
}
};
Expand Down

0 comments on commit f5aa890

Please sign in to comment.