remove separate ui service, serve ui with backend
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
2025-07-18 01:54:26 +01:00
parent f9047644fe
commit 77ea0144cf
70 changed files with 153 additions and 11214 deletions

8
src/routes/shutdown.rs Normal file
View File

@ -0,0 +1,8 @@
use std::sync::mpsc;
use tracing::{Level, event};
#[allow(clippy::unused_async)]
pub async fn shutdown(tx: mpsc::Sender<bool>) {
event!(Level::INFO, "Shutdown request received, stopping server...");
tx.send(true).expect("failed to send shutdown signal");
}