[fix] simple theme: fix autocomplete

AJAX requests send the X-Requested-With HTTP header,
so searx.webapp.autocompleter returns the results with the expected data format.

Related to #2127
Close #2203
This commit is contained in:
Alexandre Flament 2020-09-19 10:13:05 +02:00
parent ae07f4a211
commit c23401e9fa
9 changed files with 16 additions and 8 deletions

View file

@ -1,4 +1,4 @@
/*! searx | 04-06-2020 | */
/*! searx | 19-09-2020 | https://github.com/asciimoo/searx */
/*
* searx, A privacy-respecting, hackable metasearch engine
*

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
/*! searx | 04-06-2020 | */
/*! searx | 19-09-2020 | https://github.com/asciimoo/searx */
/*
* searx, A privacy-respecting, hackable metasearch engine
*

File diff suppressed because one or more lines are too long