chore: change default user agent

This commit is contained in:
GyDi 2022-05-06 00:42:20 +08:00
parent ad65a278d4
commit 75ba16281b
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

View File

@ -203,7 +203,7 @@ impl PrfItem {
builder = builder.no_proxy();
}
builder = builder.user_agent(user_agent.unwrap_or("clash-verge/v0.1.0".into()));
builder = builder.user_agent(user_agent.unwrap_or("clash-verge/v1.0.0".into()));
let resp = builder.build()?.get(url).send().await?;
let header = resp.headers();