feat: search sanitized logs with source and role filters (#1083)
This commit is contained in:
@ -18,6 +18,7 @@ pub struct AppState {
|
||||
pub sessions: Mutex<HashMap<String, Session>>,
|
||||
/// Datei mit dem Einmalpasswort des Standard-Admins; sie wird nach der
|
||||
/// ersten Einrichtung gelöscht.
|
||||
pub logs_dir: std::sync::OnceLock<std::path::PathBuf>,
|
||||
pub bootstrap_file: std::sync::OnceLock<std::path::PathBuf>,
|
||||
}
|
||||
|
||||
@ -35,6 +36,7 @@ impl AppState {
|
||||
http,
|
||||
started: Instant::now(),
|
||||
sessions: Mutex::new(HashMap::new()),
|
||||
logs_dir: std::sync::OnceLock::new(),
|
||||
bootstrap_file: std::sync::OnceLock::new(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user