[enh] tidy: clean old morty, filtron, searx references

Everyone should have already switched from legacy methods
This commit is contained in:
Ivan Gabaldon 2025-04-05 10:59:07 +02:00
parent 9006866019
commit 2cfd3fc44b
No known key found for this signature in database
GPG key ID: 075587C93FA67582
26 changed files with 18 additions and 558 deletions

View file

@ -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|"