fix ua
This commit is contained in:
parent
a14bf93302
commit
aa594ec1d8
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ impl<'r> FromRequest<'r> for RequestClient {
|
|||
pub fn is_browser(req: &Request) -> bool {
|
||||
let ua = req
|
||||
.headers()
|
||||
.get("usesr-agent")
|
||||
.get("User-Agent")
|
||||
.next()
|
||||
.unwrap()
|
||||
.to_lowercase();
|
||||
|
|
Loading…
Add table
Reference in a new issue