diff options
Diffstat (limited to 'src/bin/obnam-server.rs')
-rw-r--r-- | src/bin/obnam-server.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/obnam-server.rs b/src/bin/obnam-server.rs index 4e53953..520d6a9 100644 --- a/src/bin/obnam-server.rs +++ b/src/bin/obnam-server.rs @@ -32,7 +32,8 @@ async fn main() -> anyhow::Result<()> { let index = warp::any().map(move || Arc::clone(&index)); info!("Obnam server starting up"); - debug!("Configuration: {:?}", config_bare); + debug!("opt: {:#?}", opt); + debug!("Configuration: {:#?}", config_bare); let create = warp::post() .and(warp::path("chunks")) @@ -65,6 +66,7 @@ async fn main() -> anyhow::Result<()> { let log = warp::log("obnam"); let webroot = create.or(fetch).or(search).or(delete).with(log); + debug!("starting warp"); warp::serve(webroot) // .tls() // .key_path(config_bare.tls_key) |