fix: removed typo from http client user agent. (#3134)
This commit is contained in:
parent
4a65c2115b
commit
d52ae4bd48
@ -45,7 +45,7 @@ pub fn download_with_progress(url: &str) -> Result<Vec<u8>, ureq::Error> {
|
||||
#[allow(clippy::result_large_err)]
|
||||
pub fn download(url: &str) -> Result<ureq::Response, ureq::Error> {
|
||||
let mut builder = ureq::AgentBuilder::new()
|
||||
.user_agent(concat!("typst/{}", env!("CARGO_PKG_VERSION")));
|
||||
.user_agent(concat!("typst/", env!("CARGO_PKG_VERSION")));
|
||||
|
||||
// Get the network proxy config from the environment.
|
||||
if let Some(proxy) = env_proxy::for_url_str(url)
|
||||
|
Loading…
Reference in New Issue
Block a user