operator input: per-agent /send form (dashboard T4LK removed)
This commit is contained in:
parent
3c493934da
commit
409263f1c9
8 changed files with 142 additions and 52 deletions
|
|
@ -63,8 +63,18 @@ async fn main() -> Result<()> {
|
|||
let ui_state = login_state.clone();
|
||||
let bus = Bus::new();
|
||||
let ui_bus = bus.clone();
|
||||
let ui_socket = cli.socket.clone();
|
||||
tokio::spawn(async move {
|
||||
if let Err(e) = web_ui::serve(label, port, ui_state, ui_bus).await {
|
||||
if let Err(e) = web_ui::serve(
|
||||
label,
|
||||
port,
|
||||
ui_state,
|
||||
ui_bus,
|
||||
ui_socket,
|
||||
web_ui::Flavor::Agent,
|
||||
)
|
||||
.await
|
||||
{
|
||||
tracing::error!(error = ?e, "web ui failed");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue