chore: cleaning post-merge code

This commit is contained in:
Brama Udi 2024-05-11 08:22:14 +07:00 committed by Brama Udi
parent df7e1b8218
commit 7f8dcde98c
No known key found for this signature in database
GPG Key ID: C163FBB0BB454FBD

View File

@ -74,7 +74,7 @@ function aliasURL(url) {
url = new URL(`https://web.facebook.com/_shortLink/${parts[1]}`) url = new URL(`https://web.facebook.com/_shortLink/${parts[1]}`)
} }
break; break;
break;
case "ddinstagram": case "ddinstagram":
if (services.instagram.altDomains.includes(host.domain) && [null, 'd', 'g'].includes(host.subdomain)) { if (services.instagram.altDomains.includes(host.domain) && [null, 'd', 'g'].includes(host.subdomain)) {
url.hostname = 'instagram.com'; url.hostname = 'instagram.com';