searx: Append slash at the end of URLs

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2018-02-26 18:44:28 +05:30
parent 432aa1b343
commit 28b0ceb0e9
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ def setup(helper, old_version=None):
def add_shortcut():
"""Helper method to add a shortcut to the frontpage."""
frontpage.add_shortcut('searx', name, short_description=short_description,
url='/searx', login_required=True)
url='/searx/', login_required=True)
def get_safe_search_setting():

View File

@ -23,6 +23,6 @@ clients = validate([{
'name': _('Searx'),
'platforms': [{
'type': 'web',
'url': '/searx'
'url': '/searx/'
}]
}])