From 9fab86a3ae2ea15821f7ee4a7587b22708bc3d90 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 9 May 2020 21:30:57 +0200 Subject: [PATCH] use www for domain check --- lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index d8035844..d34846a9 100644 --- a/lib.sh +++ b/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