chore(server): correct startup log message
This commit is contained in:
1 parent
7729b4ae5a
commit
be9ad8127a
2 files changed
+2
-1
No files matched your search
@@ -254,6 +254,7 @@ async fn get_nvim_connection() -> Result<mpsc::Sender<NvimRequest>, String> {
|
|||||||
}
|
}
|
||||||
_ => false,
|
_ => false,
|
||||||
} =>
|
} =>
|
||||||
|
{
|
||||||
match read_half.read_buf(&mut resp_buf).await {
|
match read_half.read_buf(&mut resp_buf).await {
|
||||||
Ok(n) if n > 0 => {}
|
Ok(n) if n > 0 => {}
|
||||||
_ => {
|
_ => {
|
||||||
|
|||||||
+1
-1
@@ -134,7 +134,7 @@ async fn run_server(state: Arc<MemoryState>) -> Result<(), Box<dyn std::error::E
|
|||||||
|
|
||||||
let app = api::setup::create_router(app_state);
|
let app = api::setup::create_router(app_state);
|
||||||
|
|
||||||
tracing::info!("MCP Memory Server running on http://127.0.0.1:3000/sse");
|
tracing::info!("MCP Memory Server running on http://127.0.0.1:3000/ws");
|
||||||
let addr = std::env::var("MCP_PORT").unwrap_or_else(|_| "3000".to_string());
|
let addr = std::env::var("MCP_PORT").unwrap_or_else(|_| "3000".to_string());
|
||||||
let addr: std::net::SocketAddr = format!("127.0.0.1:{}", addr)
|
let addr: std::net::SocketAddr = format!("127.0.0.1:{}", addr)
|
||||||
.parse()
|
.parse()
|
||||||
|
|||||||
Reference in new issue
Block a user