fix base config
This commit is contained in:
parent
75572c17a2
commit
1c2ae52435
@ -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 }
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user