Normalize medium links

This commit is contained in:
shinigami-eyes 2019-06-14 18:51:22 +02:00
parent c1f5a7b536
commit ee770f4610
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ function getIdentifierInternal(urlstr) {
return 'disqus.com' + takeFirstPathComponents(url.pathname, 2);
}
if (isHostedOn(host, 'medium.com')) {
return 'medium.com' + takeFirstPathComponents(url.pathname, 1);
return 'medium.com' + takeFirstPathComponents(url.pathname.replace('/t/', '/'), 1);
}
if (isHostedOn(host, 'tumblr.com')) {
if (url.pathname.startsWith('/register/follow/')) {