On RPi, localhost hangs

This commit is contained in:
kexkey
2019-04-10 22:22:36 -04:00
parent 834c2c9bba
commit 21ed3455ad
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ timeout_feature() {
do_test() {
local rc
rc=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost/sparkwallet/)
rc=$(curl -k -s -o /dev/null -w "%{http_code}" https://127.0.0.1/sparkwallet/)
[ "${rc}" -ne "401" ] && return 400
return 0
}

View File

@@ -25,7 +25,7 @@ timeout_feature() {
do_test() {
local rc
rc=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost/welcome)
rc=$(curl -k -s -o /dev/null -w "%{http_code}" https://127.0.0.1/welcome)
[ "${rc}" -ne "401" ] && return 400
return 0
}