Skip to content

Commit

Permalink
Merge branch 'dev' into tests/log-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Jun 24, 2024
2 parents 131a12e + d806462 commit c3ab346
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/links/twitter-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ export default {
player.autoplay = whitelistRecord.twitter['player-autoplay'];
}

if (!whitelistRecord.isAllowed('twitter.player', 'iframely')) {
player.rel.push(CONFIG.R.iframely); // Allows player = canonical
}

return player;
}
}
Expand Down

0 comments on commit c3ab346

Please sign in to comment.