summaryrefslogtreecommitdiff
path: root/src/bin/obnam-server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/obnam-server.rs')
-rw-r--r--src/bin/obnam-server.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/obnam-server.rs b/src/bin/obnam-server.rs
index cf53d2f..682b5a7 100644
--- a/src/bin/obnam-server.rs
+++ b/src/bin/obnam-server.rs
@@ -66,9 +66,9 @@ async fn main() -> anyhow::Result<()> {
debug!("starting warp");
warp::serve(webroot)
- // .tls()
- // .key_path(config_bare.tls_key)
- // .cert_path(config_bare.tls_cert)
+ .tls()
+ .key_path(config.tls_key)
+ .cert_path(config.tls_cert)
.run(([127, 0, 0, 1], config.port))
.await;
Ok(())