mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
fix(js): default url
This commit is contained in:
parent
a961159d74
commit
cfab8ee148
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ use crate::{Client, Workspace};
|
|||
#[napi]
|
||||
/// connect to codemp servers and return a client session
|
||||
pub async fn connect(addr: Option<String>, username: String, password: String) -> napi::Result<crate::Client>{
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue