mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 13:52:56 -04:00
Add debug output to auth url fetch
This commit is contained in:
@@ -239,6 +239,7 @@ get_auth_url() {
|
||||
local scope
|
||||
# Call to get manifests and extract www-authenticate header
|
||||
auth_header=$(curl -sLI ${CURL_NOISE_LEVEL} "${1}/${2}" | grep -i www-authenticate | tr -d '\r')
|
||||
write_debug "${auth_header}"
|
||||
if [[ -n "${auth_header}" ]]; then
|
||||
# Extract realm URL from www-authenticate header
|
||||
realm_url=$(echo "$auth_header" | grep -oP 'realm="\K[^"]+')
|
||||
|
||||
Reference in New Issue
Block a user