diff --git a/.config.sh b/.config.sh index f4e6273c..835bfecf 100644 --- a/.config.sh +++ b/.config.sh @@ -41,7 +41,7 @@ fi # morty listen address # MORTY_LISTEN="127.0.0.1:3000" -# PUBLIC_URL_PATH_MORTY="/morty" +# PUBLIC_URL_PATH_MORTY="/morty/" # system services # --------------- diff --git a/utils/morty.sh b/utils/morty.sh index 34d792db..2aee0ac9 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}"