mirror of
https://github.com/aljazceru/cypherapps.git
synced 2025-12-17 05:14:22 +01:00
On RPi, localhost hangs
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user