Removed dev comments
This commit is contained in:
parent
ad010adcfb
commit
e3b2acf23f
|
@ -48,8 +48,6 @@ async fn handle_post(json: serde_json::Value, tx: Tx) -> Result<impl warp::Reply
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn run(tx: Sender<String>, listen: SocketAddr) -> Result<(), tokio::io::Error> {
|
pub async fn run(tx: Sender<String>, listen: SocketAddr) -> Result<(), tokio::io::Error> {
|
||||||
//let addr = SocketAddr::from((Ipv4Addr::new(192, 168, 1, 66), 51001));
|
|
||||||
//println!("{:?}", addr);
|
|
||||||
let tx = Tx::new(tx);
|
let tx = Tx::new(tx);
|
||||||
let tx_filter = warp::any().map(move || tx.clone());
|
let tx_filter = warp::any().map(move || tx.clone());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue