Skip to content

Commit

Permalink
Add logging of listen address
Browse files Browse the repository at this point in the history
  • Loading branch information
Palladinium committed Dec 26, 2023
1 parent cd21389 commit 05446d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ async fn main() -> eyre::Result<()> {
lock,
});

info!(
"Serving on {}",
bind.iter()
.map(ToString::to_string)
.collect::<Vec<_>>()
.join(", ")
);

// TODO: Crate search, owner endpoints, /me endpoint
let router = Router::new()
.route("/index/config.json", get(get_index_config))
Expand Down

0 comments on commit 05446d6

Please sign in to comment.