We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b030aaf commit 7b05bb4Copy full SHA for 7b05bb4
1 file changed
src/proxy_server.rs
@@ -1862,7 +1862,7 @@ where
1862
// pourya-p's log in #64 showed the real Host header. Match every
1863
// subdomain of x.com here.
1864
let host_lower = host.to_ascii_lowercase();
1865
- let is_x_com = host_lower == "x.com" || host_lower.ends_with(".x.com");
+ let is_x_com = host_lower == "x.com" || host_lower == "twitter.com" || host_lower.ends_with(".x.com");
1866
let path = if is_x_com && path.starts_with("/i/api/graphql/") && path.contains("?variables=") {
1867
match path.split_once('&') {
1868
Some((short, _)) => {
0 commit comments