mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[mod] check the engine tokens in searx/webadapter.py instead of searx/search.py
This commit is contained in:
parent
eecfff2689
commit
691d12726b
6 changed files with 95 additions and 64 deletions
|
@ -562,7 +562,7 @@ def index():
|
|||
raw_text_query = None
|
||||
result_container = None
|
||||
try:
|
||||
search_query, raw_text_query = get_search_query_from_webapp(request.preferences, request.form)
|
||||
search_query, raw_text_query, _, _ = get_search_query_from_webapp(request.preferences, request.form)
|
||||
# search = Search(search_query) # without plugins
|
||||
search = SearchWithPlugins(search_query, request.user_plugins, request)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue