From cfab8ee1487e831f5d4c35898470546308fc6286 Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 27 Aug 2024 23:09:36 +0200 Subject: [PATCH] fix(js): default url --- src/ffi/js/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffi/js/client.rs b/src/ffi/js/client.rs index 3ce4803..5d3fc50 100644 --- a/src/ffi/js/client.rs +++ b/src/ffi/js/client.rs @@ -4,7 +4,7 @@ use crate::{Client, Workspace}; #[napi] /// connect to codemp servers and return a client session pub async fn connect(addr: Option, username: String, password: String) -> napi::Result{ - let client = crate::Client::connect(addr.as_deref().unwrap_or("http://codemp.alemi.dev:50053"), username, password) + let client = crate::Client::connect(addr.as_deref().unwrap_or("http://codemp.dev:50053"), username, password) .await?; Ok(client)