mirror of
https://github.com/searxng/searxng.git
synced 2025-12-29 15:10:02 +00:00
Allow autocompleter to work in a sub folder of the domain name.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
if(searx.autocompleter) {
|
||||
window.addEvent('domready', function() {
|
||||
new Autocompleter.Request.JSON('q', '/autocompleter', {
|
||||
new Autocompleter.Request.JSON('q', './autocompleter', {
|
||||
postVar:'q',
|
||||
postData:{
|
||||
'format': 'json'
|
||||
|
||||
Reference in New Issue
Block a user