From 1c2ae524354d11d30d9dc4eb9771457efdf8e409 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 18 Apr 2024 04:43:20 +0000 Subject: [PATCH] fix base config --- config-base.toml | 5 +++-- src/web/mod.rs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config-base.toml b/config-base.toml index 0de2e7c..e73c5ad 100644 --- a/config-base.toml +++ b/config-base.toml @@ -2,8 +2,9 @@ bind = "0.0.0.0:28019" -engine_list_separator = false -version_info = false +[ui] +show_engine_list_separator = false +show_version_info = false [engines] google = { weight = 1.05 } diff --git a/src/web/mod.rs b/src/web/mod.rs index 267a0c2..b4d23fc 100644 --- a/src/web/mod.rs +++ b/src/web/mod.rs @@ -47,7 +47,7 @@ pub async fn run(config: Config) { .route("/autocomplete", get(autocomplete::route)) .with_state(Arc::new(config)); - info!("Listening on {bind_addr}"); + info!("Listening on http://{bind_addr}"); let listener = tokio::net::TcpListener::bind(bind_addr).await.unwrap(); axum::serve(