We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d40d9 commit c9662a5Copy full SHA for c9662a5
crates/rpc/src/lib.rs
@@ -93,7 +93,7 @@ pub async fn serve_axum(
93
94
let cors = CorsLayer::new().allow_methods([Method::GET, Method::POST]).allow_origin(cors);
95
96
- let service = router.clone().into_axum("/rpc").layer(cors);
+ let service = router.clone().into_axum("/").layer(cors);
97
98
let listener = tokio::net::TcpListener::bind(addrs).await?;
99
0 commit comments