mirror of
https://github.com/searxng/searxng.git
synced 2025-07-22 20:59:16 +02:00
[enh] tidy: clean old morty, filtron, searx references
Everyone should have already switched from legacy methods
This commit is contained in:
parent
9006866019
commit
2cfd3fc44b
26 changed files with 18 additions and 558 deletions
|
@ -1802,8 +1802,8 @@ url_replace_hostname(){
|
|||
|
||||
# to replace hostname by primary IP::
|
||||
#
|
||||
# url_replace_hostname http://searx-ubu1604/morty $(primary_ip)
|
||||
# http://10.246.86.250/morty
|
||||
# url_replace_hostname http://searx-ubu1604/example $(primary_ip)
|
||||
# http://10.246.86.250/example
|
||||
|
||||
# shellcheck disable=SC2001
|
||||
echo "$1" | sed "s|\(http[s]*://\)[^/]*\(.*\)|\1$2\2|"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue