Merge pull request 'master' (#15) from master into f0ckv2

Reviewed-on: #15
This commit is contained in:
Kibi Kelburton
2026-07-17 21:53:32 +00:00
2 changed files with 50 additions and 5 deletions

View File

@@ -229,8 +229,6 @@ export default router => {
domain = parts.slice(-2).join('.');
}
if (domain) tags.push(domain);
// YouTube-specific tag
if (/(?:youtube\.com|youtu\.be)$/i.test(domain) || /(?:youtube\.com|youtu\.be)$/i.test(host)) {
tags.push('youtube');