fix to not trim in autocomplete
This commit is contained in:
parent
944c35f12c
commit
68961193a8
@ -9,7 +9,6 @@ pub async fn route(Query(params): Query<HashMap<String, String>>) -> impl IntoRe
|
||||
.get("q")
|
||||
.cloned()
|
||||
.unwrap_or_default()
|
||||
.trim()
|
||||
.replace('\n', " ");
|
||||
|
||||
let res = match engines::autocomplete(&query).await {
|
||||
|
Loading…
Reference in New Issue
Block a user