mirror of
https://github.com/searxng/searxng.git
synced 2025-09-03 16:58:34 +02:00
misc: fix variuous marginals
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3c19f2f1ce
commit
e530e20ae6
5 changed files with 13 additions and 12 deletions
|
@ -15,6 +15,7 @@ in_container && lxc_set_suite_env
|
|||
# ----------------------------------------------------------------------------
|
||||
|
||||
PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
|
||||
PUBLIC_HOST="${PUBLIC_HOST:-$(echo "$PUBLIC_URL" | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/')}"
|
||||
PUBLIC_URL_PATH_MORTY="${PUBLIC_URL_PATH_MORTY:-/morty}"
|
||||
PUBLIC_URL_MORTY="$(echo "$PUBLIC_URL" | sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}"
|
||||
|
||||
|
@ -378,7 +379,6 @@ EOF
|
|||
return 0
|
||||
}
|
||||
|
||||
|
||||
enable_debug() {
|
||||
warn_msg "Do not enable debug in production enviroments!!"
|
||||
info_msg "Enabling debug option needs to reinstall systemd service!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue