From dc4029243c64cf4ac9d87d6f73643ab39b205dd6 Mon Sep 17 00:00:00 2001 From: Parsast Date: Sun, 26 Apr 2026 14:48:45 +0330 Subject: [PATCH] fix: add twitter.com --- src/proxy_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy_server.rs b/src/proxy_server.rs index 4106305..bb5aaa7 100644 --- a/src/proxy_server.rs +++ b/src/proxy_server.rs @@ -1862,7 +1862,7 @@ where // pourya-p's log in #64 showed the real Host header. Match every // subdomain of x.com here. let host_lower = host.to_ascii_lowercase(); - let is_x_com = host_lower == "x.com" || host_lower.ends_with(".x.com"); + let is_x_com = host_lower == "x.com" || host_lower.ends_with(".x.com") || host_lower == "twitter.com" || host_lower.ends_with(".twitter.com"); let path = if is_x_com && path.starts_with("/i/api/graphql/") && path.contains("?variables=") { match path.split_once('&') { Some((short, _)) => {