summaryrefslogtreecommitdiff
path: root/angelsharkd/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'angelsharkd/src/main.rs')
-rw-r--r--angelsharkd/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/angelsharkd/src/main.rs b/angelsharkd/src/main.rs
index 8a8a53e..fb075ab 100644
--- a/angelsharkd/src/main.rs
+++ b/angelsharkd/src/main.rs
@@ -41,6 +41,9 @@ async fn main() -> Result<()> {
})
.with(warp::log("angelsharkd"));
+ #[cfg(feature = "extensions")]
+ let routes = routes.or(routes::extensions::filter(&config));
+
// Create server with shutdown signal.
let (addr, server) = warp::serve(routes).bind_with_graceful_shutdown(config.bind_addr, async {
signal::ctrl_c()