diff --git a/src/lib/web/mod.rs b/src/lib/web/mod.rs index 964274f..65a6640 100644 --- a/src/lib/web/mod.rs +++ b/src/lib/web/mod.rs @@ -55,14 +55,6 @@ pub async fn run(address: std::net::SocketAddrV4) { } } -pub fn configure_router(modifier: F) -where - F: FnOnce(&mut Router), -{ - let mut router = SERVER.router.lock().unwrap(); - modifier(&mut router); -} - async fn shutdown_signal() { let ctrl_c = async { signal::ctrl_c()