Print helpful message on startup
This commit is contained in:
parent
df63c25646
commit
62812c2ddf
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ fn core_main() -> Result<(), Box<std::error::Error>> {
|
|||
move || Ok(site::Site::new(state::State::new(db::connect_database(&db_file, false))))
|
||||
)?;
|
||||
|
||||
println!("Listening on http://{}", server.local_addr().unwrap());
|
||||
|
||||
server.run()?;
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue