Provide user agent when performing HTTP requests (#15470)
Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
2a649fa824
commit
fa19bc98ac
8 changed files with 40 additions and 24 deletions
|
@ -416,7 +416,7 @@ fn main() {
|
|||
|
||||
client::init_settings(cx);
|
||||
let client = Client::production(cx);
|
||||
cx.update_http_client(client.http_client().clone());
|
||||
cx.set_http_client(client.http_client().clone());
|
||||
let mut languages =
|
||||
LanguageRegistry::new(login_shell_env_loaded, cx.background_executor().clone());
|
||||
languages.set_language_server_download_dir(paths::languages_dir().clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue