enable local ws

This commit is contained in:
appflowy
2022-01-07 17:37:11 +08:00
parent f66ea6d224
commit 287698be9e
49 changed files with 525 additions and 546 deletions

View File

@ -26,7 +26,7 @@ pub extern "C" fn init_sdk(path: *mut c_char) -> i64 {
let path: &str = c_str.to_str().unwrap();
let server_config = get_client_server_configuration().unwrap();
let config = FlowySDKConfig::new(path, server_config, "appflowy").log_filter("debug");
let config = FlowySDKConfig::new(path, server_config, "appflowy", None).log_filter("debug");
*FLOWY_SDK.write() = Some(Arc::new(FlowySDK::new(config)));
0