mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Adds async update from flask with other content
This commit is contained in:
parent
b50ef14dce
commit
f797519944
9 changed files with 49 additions and 61 deletions
|
|
@ -11,6 +11,5 @@ def post_search(request, search: SearchWithPlugins) -> None:
|
|||
search_request = search.search_query
|
||||
container = search.result_container
|
||||
# container.infoboxes.append(container.infoboxes[0])
|
||||
container.chat_box = {'chat_box': 'hello world'}
|
||||
print(container.infoboxes)
|
||||
print("HELLO WORLD =====================================================================")
|
||||
container.chat_box = [{'chat_box': 'hello world'}]
|
||||
container.chat_box[0]['content'] = 'some string that relates to your search query here' + f'\n{search_request.query}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue