summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/typst-cli/src/download.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/download.rs b/crates/typst-cli/src/download.rs
index 0fff7b85..a5062fd3 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<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)