summaryrefslogtreecommitdiff
path: root/utils/morty.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-06-13 11:55:32 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-13 11:55:32 +0200
commit1f91d85506d8b1c04fc58681a3e6f8b207ab59c4 (patch)
treeb0b529b040d807da209011e340fa5f65d1101da1 /utils/morty.sh
parent2449ea70b5630506b689b82b3356a4aa63ef1e82 (diff)
downloadsearxng-1f91d85506d8b1c04fc58681a3e6f8b207ab59c4.tar.gz
searxng-1f91d85506d8b1c04fc58681a3e6f8b207ab59c4.zip
[fix] utils/morty.sh - PUBLIC_URL_MORTY is based on PUBLIC_URL
The public URL of the searx instance: PUBLIC_URL="https://mydomain.xy/searx" The default is SEARX_URL which is taken from ./utils/brand.env. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/morty.sh')
-rwxr-xr-xutils/morty.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/morty.sh b/utils/morty.sh
index 24d160b03..0a44ef574 100755
--- a/utils/morty.sh
+++ b/utils/morty.sh
@@ -18,7 +18,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_MORTY="${PUBLIC_URL_MORTY:-$(echo "$SEARX_URL" | sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}}"
+PUBLIC_URL_MORTY="${PUBLIC_URL_MORTY:-$(echo "$PUBLIC_URL" | sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}}"
# shellcheck disable=SC2034
MORTY_TIMEOUT=5