fix base config

This commit is contained in:
mat 2024-04-18 04:43:20 +00:00
parent 75572c17a2
commit 1c2ae52435
2 changed files with 4 additions and 3 deletions

View File

@ -2,8 +2,9 @@
bind = "0.0.0.0:28019" bind = "0.0.0.0:28019"
engine_list_separator = false [ui]
version_info = false show_engine_list_separator = false
show_version_info = false
[engines] [engines]
google = { weight = 1.05 } google = { weight = 1.05 }

View File

@ -47,7 +47,7 @@ pub async fn run(config: Config) {
.route("/autocomplete", get(autocomplete::route)) .route("/autocomplete", get(autocomplete::route))
.with_state(Arc::new(config)); .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(); let listener = tokio::net::TcpListener::bind(bind_addr).await.unwrap();
axum::serve( axum::serve(