diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-16 14:45:42 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-02-16 14:45:42 +0100 |
commit | f7b052c3542e7887aa23c48f3aa486b842e87292 (patch) | |
tree | 2d829e43be1651d09190291abb8ee55da6da36c1 /searx/static/themes/oscar/js/searx_src | |
parent | bbb5e23551fd62d2372f96a9d4187cac276eb059 (diff) | |
download | searxng-f7b052c3542e7887aa23c48f3aa486b842e87292.tar.gz searxng-f7b052c3542e7887aa23c48f3aa486b842e87292.zip |
Allow autocompleter to work in a sub folder of the domain name.
Diffstat (limited to 'searx/static/themes/oscar/js/searx_src')
-rw-r--r-- | searx/static/themes/oscar/js/searx_src/autocompleter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/oscar/js/searx_src/autocompleter.js b/searx/static/themes/oscar/js/searx_src/autocompleter.js index 561bff35a..70c66d2fc 100644 --- a/searx/static/themes/oscar/js/searx_src/autocompleter.js +++ b/searx/static/themes/oscar/js/searx_src/autocompleter.js @@ -19,7 +19,7 @@ if(searx.autocompleter) { searx.searchResults = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
- remote: '/autocompleter?q=%QUERY'
+ remote: './autocompleter?q=%QUERY'
});
searx.searchResults.initialize();
}
|