fixed some curl refs

This commit is contained in:
Paul Wilde 2024-03-13 17:06:37 +00:00
parent 76bea8ee7e
commit 9174828d65

View file

@ -3,9 +3,9 @@
$dir = Split-Path $script:MyInvocation.MyCommand.Path $dir = Split-Path $script:MyInvocation.MyCommand.Path
. "$dir/env.ps1" . "$dir/env.ps1"
if ( $KUMA_ID -ne "" ){ if ( $KUMA_ID -ne "" ){
$RUNNING_URL = "https://$KUMA_URL/api/push/$KUMA_ID?status=up&msg=Running&ping=" $RUNNING_URL = "https://$KUMA_URL/api/push/$($KUMA_ID)?status=up&msg=Running&ping="
$FAILURE_URL = "https://$KUMA_URL/api/push/$KUMA_ID?status=down&msg=Failed&ping=" $FAILURE_URL = "https://$KUMA_URL/api/push/$($KUMA_ID)?status=down&msg=Failed&ping="
$SUCCESS_URL = "https://$KUMA_URL/api/push/$KUMA_ID?status=up&msg=Completed&ping=" $SUCCESS_URL = "https://$KUMA_URL/api/push/$($KUMA_ID)?status=up&msg=Completed&ping="
} elseif ( $HEALTHCHECK_UUID -ne "" ) { } elseif ( $HEALTHCHECK_UUID -ne "" ) {
$RUNNING_URL = "https://hc-ping.com/$HEALTHCHECK_UUID/start" $RUNNING_URL = "https://hc-ping.com/$HEALTHCHECK_UUID/start"
$FAILURE_URL = "https://hc-ping.com/$HEALTHCHECK_UUID/fail" $FAILURE_URL = "https://hc-ping.com/$HEALTHCHECK_UUID/fail"