diff --git a/crates/typst-cli/src/download.rs b/crates/typst-cli/src/download.rs index 0fff7b85e..a5062fd3f 100644 --- a/crates/typst-cli/src/download.rs +++ b/crates/typst-cli/src/download.rs @@ -45,7 +45,7 @@ pub fn download_with_progress(url: &str) -> Result, ureq::Error> { #[allow(clippy::result_large_err)] pub fn download(url: &str) -> Result { 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)