From 28b0ceb0e9a2765d8b4f6669c8b9730c04a0c3f6 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 26 Feb 2018 18:44:28 +0530 Subject: [PATCH] searx: Append slash at the end of URLs Signed-off-by: Sunil Mohan Adapa --- plinth/modules/searx/__init__.py | 2 +- plinth/modules/searx/manifest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/searx/__init__.py b/plinth/modules/searx/__init__.py index dbbf67e22..8cfa63fdd 100644 --- a/plinth/modules/searx/__init__.py +++ b/plinth/modules/searx/__init__.py @@ -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(): diff --git a/plinth/modules/searx/manifest.py b/plinth/modules/searx/manifest.py index e4be60535..d908ae416 100644 --- a/plinth/modules/searx/manifest.py +++ b/plinth/modules/searx/manifest.py @@ -23,6 +23,6 @@ clients = validate([{ 'name': _('Searx'), 'platforms': [{ 'type': 'web', - 'url': '/searx' + 'url': '/searx/' }] }])