change argument

This commit is contained in:
2025-01-14 23:51:19 -06:00
parent f3451efac6
commit 179bd14f7f
2 changed files with 3 additions and 21 deletions

View File

@@ -17,6 +17,6 @@ data:
apk add curl
fi
echo "updating port with {{PORTS}}"
echo "updating port with $1"
curl -i -X POST -d "json={\"listen_port\": {{PORTS}}}" "http://localhost:8080/api/v2/app/setPreferences"'
curl -i -X POST -d "json={\"listen_port\": $1}" "http://localhost:8080/api/v2/app/setPreferences"'