diff --git a/testWeb.sh b/testWeb.sh index 51f5cb2..66fd61b 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -1,7 +1,7 @@ #!/bin/bash echo "TEST HUGO" -reponse=$(curl -s -o /dev/null -w "%{http_code}\n" http://localhost:6060) +response=`curl -k -s -X GET --url "http://localhost:6060" if ["$reponse" != "200"] then exit 1