diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 382d1d3..635acf8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -124,6 +124,8 @@ async fn handle_update_root(data: web::Bytes) -> HttpResponse { } async fn handle_switch() -> HttpResponse { + println!("[admind] switch to inactive root"); + match switch_to_inactive_root() { Ok(_) => HttpResponse::Ok() .content_type(ContentType::plaintext()) |