fix: sse endpoint build follow js's new URL(url, base) (#197)

* fix: sse endpoint build follow js's `new URL(url, base)`

* fix: fix feature denpencies
This commit is contained in:
4t145 2025-05-19 13:09:00 +08:00 • committed by GitHub
commit a3b42c4a83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,7 +147,7 @@ async fn main() -> Result<()> {
let transport = SseClientTransport::start_with_client(
client,
SseClientConfig {
uri: MCP_SSE_URL.into(),
sse_endpoint: MCP_SSE_URL.into(),
..Default::default()
},
)