mirror of
https://github.com/zaphar/Heracles.git
synced 2025-07-23 04:29:48 -04:00
maint: Cleanup todo
This commit is contained in:
parent
03e4d1fac5
commit
3600b06e52
@ -46,7 +46,6 @@ main! {
|
||||
.route("/", get(routes::index).with_state(config.clone()))
|
||||
.with_state(State(config.clone()));
|
||||
let socket_addr = args.listen.unwrap_or("127.0.0.1:3000".parse()?);
|
||||
// TODO(jwall): Take this from clap arguments
|
||||
let listener = Async::<TcpListener>::bind(socket_addr)?;
|
||||
smol_axum::serve(ex.clone(), listener, router).await?;
|
||||
Ok(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user