summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-09 14:28:34 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-09 14:28:34 +0200
commit44edc9256932961f5fd3c0778da009c493d9ce35 (patch)
tree7a83d38707f00bbcad1677400cad347d1aa4155e /utils
parentf693149cded4f783380f8f02154bd9288b72cdd5 (diff)
downloadsearxng-44edc9256932961f5fd3c0778da009c493d9ce35.tar.gz
searxng-44edc9256932961f5fd3c0778da009c493d9ce35.zip
[fix] morty: PUBLIC_URL_PATH_MORTY needs trailing slash
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/morty.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/morty.sh b/utils/morty.sh
index 34d792dbe..2aee0ac97 100755
--- a/utils/morty.sh
+++ b/utils/morty.sh
@@ -15,7 +15,7 @@ in_container && lxc_set_suite_env
# ----------------------------------------------------------------------------
MORTY_LISTEN="${MORTY_LISTEN:-127.0.0.1:3000}"
-PUBLIC_URL_PATH_MORTY="${PUBLIC_URL_PATH_MORTY:-/morty}"
+PUBLIC_URL_PATH_MORTY="${PUBLIC_URL_PATH_MORTY:-/morty/}"
SEARX_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
PUBLIC_URL_MORTY="$(echo "$SEARX_URL" | sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}"