mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
searx: Append slash at the end of URLs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
432aa1b343
commit
28b0ceb0e9
@ -91,7 +91,7 @@ def setup(helper, old_version=None):
|
|||||||
def add_shortcut():
|
def add_shortcut():
|
||||||
"""Helper method to add a shortcut to the frontpage."""
|
"""Helper method to add a shortcut to the frontpage."""
|
||||||
frontpage.add_shortcut('searx', name, short_description=short_description,
|
frontpage.add_shortcut('searx', name, short_description=short_description,
|
||||||
url='/searx', login_required=True)
|
url='/searx/', login_required=True)
|
||||||
|
|
||||||
|
|
||||||
def get_safe_search_setting():
|
def get_safe_search_setting():
|
||||||
|
|||||||
@ -23,6 +23,6 @@ clients = validate([{
|
|||||||
'name': _('Searx'),
|
'name': _('Searx'),
|
||||||
'platforms': [{
|
'platforms': [{
|
||||||
'type': 'web',
|
'type': 'web',
|
||||||
'url': '/searx'
|
'url': '/searx/'
|
||||||
}]
|
}]
|
||||||
}])
|
}])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user