forked from mirrors/kingfisher
updated user-agent
This commit is contained in:
parent
26995696e5
commit
9cabccc195
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ const MAX_VALIDATION_BODY_LEN: usize = 2048;
|
|||
pub static GLOBAL_USER_AGENT: Lazy<String> = Lazy::new(|| {
|
||||
format!(
|
||||
"{} {}/{}",
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) \\ \
|
||||
AppleWebKit/537.36 (KHTML, like Gecko) \\ \
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) \
|
||||
AppleWebKit/537.36 (KHTML, like Gecko) \
|
||||
Chrome/140.0.0.0 Safari/537.36",
|
||||
env!("CARGO_PKG_NAME"),
|
||||
env!("CARGO_PKG_VERSION")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue