diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-05-05 23:27:32 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-05-05 23:27:32 +0200 |
commit | a70567d9c7c80a8f78013b0c2af885d40daa69a0 (patch) | |
tree | 8c16c217fdca3d4837506bf28700e877a9fb738c | |
parent | 838dd2c1f903dd1d6da80983578a7da53139b4bb (diff) |
log root switching requests
-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()) |