feat/api: add support for twitter bookmark links (#706)

* feat: add support for twitter bookmark links

* feat: add tests for bookmark twitter links
This commit is contained in:
KwiatekMiki
2024-10-03 08:26:38 +02:00
committed by GitHub
parent e419de07a4
commit b3137ad9ac
3 changed files with 25 additions and 1 deletions

View File

@@ -120,6 +120,11 @@ function cleanURL(url) {
limitQuery('p')
}
break;
case "twitter":
if (url.searchParams.get('post_id')) {
limitQuery('post_id')
}
break;
}
if (stripQuery) {