This commit is contained in:
JMARyA 2024-07-10 22:18:23 +02:00
parent a14bf93302
commit aa594ec1d8
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -25,7 +25,7 @@ impl<'r> FromRequest<'r> for RequestClient {
pub fn is_browser(req: &Request) -> bool { pub fn is_browser(req: &Request) -> bool {
let ua = req let ua = req
.headers() .headers()
.get("usesr-agent") .get("User-Agent")
.next() .next()
.unwrap() .unwrap()
.to_lowercase(); .to_lowercase();