mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-05 05:39:39 +00:00
processing url: alt domains for services and fixvx support
This commit is contained in:
@@ -27,8 +27,9 @@ export function aliasURL(url) {
|
||||
break;
|
||||
|
||||
case "vxtwitter":
|
||||
case "fixvx":
|
||||
case "x":
|
||||
if (['x.com', 'vxtwitter.com'].includes(url.hostname)) {
|
||||
if (services.twitter.altDomains.includes(url.hostname)) {
|
||||
url.hostname = 'twitter.com'
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user