Compare commits
2 Commits
48cd8e3171
...
0873c61a62
| Author | SHA1 | Date | |
|---|---|---|---|
|
0873c61a62
|
|||
| a9b5c12035 |
@@ -24,4 +24,4 @@ dependencies:
|
||||
repository: oci://harbor.alexlebens.net/helm-charts
|
||||
version: 0.5.0
|
||||
digest: sha256:088896b674b986f9e4b16734d73547220ee630e4ea51a05f12f8a49ccb99b522
|
||||
generated: "2025-12-18T01:50:46.584418139Z"
|
||||
generated: "2025-12-18T01:54:39.740838918Z"
|
||||
|
||||
@@ -12,4 +12,4 @@ dependencies:
|
||||
repository: oci://harbor.alexlebens.net/helm-charts
|
||||
version: 0.5.0
|
||||
digest: sha256:2ac7541bd6a80add986550d4fa96bcf3da2c54e73303795771a09f19886063f3
|
||||
generated: "2025-12-18T01:51:06.074457999Z"
|
||||
generated: "2025-12-18T01:54:54.457373789Z"
|
||||
|
||||
@@ -66,7 +66,7 @@ data:
|
||||
|
||||
echo " ";
|
||||
echo ">> Updating port with ${1} ...";
|
||||
curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences";
|
||||
HTTP_STATUS=$(curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences");
|
||||
|
||||
if [ "$HTTP_STATUS" == "200" ]; then
|
||||
echo ">> Port set"
|
||||
@@ -82,7 +82,7 @@ data:
|
||||
|
||||
echo " ";
|
||||
echo ">> Qbittorrent's post is now:";
|
||||
curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences";
|
||||
HTTP_STATUS=$(curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences");
|
||||
|
||||
LISTEN_PORT=$(cat response_body_check.json | jq -r .listen_port)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user