Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-09-23 17:32:37 +02:00
co-authored by Nathan Sobo
parent 374b05a379
commit 2352725c58
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -503,7 +503,7 @@ impl Client {
"Authorization",
format!("{} {}", credentials.user_id, credentials.access_token),
)
.header("X-ZRPC-VERSION", zrpc::VERSION);
.header("X-Zed-Protocol-Version", zrpc::PROTOCOL_VERSION);
cx.background().spawn(async move {
if let Some(host) = ZED_SERVER_URL.strip_prefix("https://") {
let stream = smol::net::TcpStream::connect(host).await?;