diff --git a/src/service/globals/mod.rs b/src/service/globals/mod.rs index 93e9bca4..63f13457 100644 --- a/src/service/globals/mod.rs +++ b/src/service/globals/mod.rs @@ -493,7 +493,7 @@ fn reqwest_client_builder(config: &Config) -> Result { .connect_timeout(Duration::from_secs(60)) .timeout(Duration::from_secs(60 * 5)) .redirect(redirect_policy) - .user_agent(concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"))); + .user_agent("Conduwuit".to_owned() + "/" + env!("CARGO_PKG_VERSION")); if let Some(proxy) = config.proxy.to_proxy()? { reqwest_client_builder = reqwest_client_builder.proxy(proxy); @@ -520,7 +520,7 @@ fn url_preview_reqwest_client_builder(config: &Config) -> Result