Merge pull request 'Update enable-expire-notifs.sh' (#1) from ilguappo/container-expire-notifs:ilguappo-patch-1 into main
Reviewed-on: Cyber/container-expire-notifs#1
This commit is contained in:
commit
438c151e73
@ -3,7 +3,7 @@
|
|||||||
API_HOST="https://api.ssh.surf"
|
API_HOST="https://api.ssh.surf"
|
||||||
API_KEY="$1"
|
API_KEY="$1"
|
||||||
|
|
||||||
[ -z $API_KEY ] && echo "You need to provide your api key fot this thing to work.
|
[ -z $API_KEY ] && echo "You need to provide your api key for this thing to work.
|
||||||
It is strongly advised enabling privacy mode (\`/privacy\`) for the time of execution" && exit 1
|
It is strongly advised enabling privacy mode (\`/privacy\`) for the time of execution" && exit 1
|
||||||
|
|
||||||
hello=$(curl -w %{http_code} -sH "x-ssh-auth: $API_KEY" $API_HOST/hello -o /dev/null)
|
hello=$(curl -w %{http_code} -sH "x-ssh-auth: $API_KEY" $API_HOST/hello -o /dev/null)
|
||||||
|
Loading…
Reference in New Issue
Block a user