WIP
This commit is contained in:
parent
3938f7c364
commit
be040b60b7
3 changed files with 13 additions and 20 deletions
|
@ -1099,6 +1099,10 @@
|
|||
// }
|
||||
// }
|
||||
|
||||
pub fn routes(peer: Arc<Peer>) -> Router<Body> {
|
||||
Router::new()
|
||||
}
|
||||
|
||||
// pub fn add_routes(app: &mut tide::Server<Arc<AppState>>, rpc: &Arc<Peer>) {
|
||||
// let server = Server::new(app.state().clone(), rpc.clone(), None);
|
||||
// app.at("/rpc").get(move |request: Request<Arc<AppState>>| {
|
||||
|
@ -6360,3 +6364,6 @@
|
|||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
use axum::{body::Body, Router};
|
||||
use client::Peer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue