mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
use www for domain check
This commit is contained in:
parent
5087f6d717
commit
9fab86a3ae
2
lib.sh
2
lib.sh
@ -543,7 +543,7 @@ if check_command curl -s -H 'Cache-Control: no-cache' "https://networkappers.com
|
||||
then
|
||||
print_text_in_color "$IGreen" "Port ${1} is open on ${WANIP4}!"
|
||||
# Domain name
|
||||
elif check_command curl -s -H 'Cache-Control: no-cache' "https://networkappers.com/api/port.php?ip=${2}&port=${1}" | grep -q "open"
|
||||
elif check_command curl -s -H 'Cache-Control: no-cache' "https://www.networkappers.com/api/port.php?ip=${2}&port=${1}" | grep -q "open"
|
||||
then
|
||||
print_text_in_color "$IGreen" "Port ${1} is open on ${2}!"
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user