fix script

This commit is contained in:
2025-01-15 00:04:15 -06:00
parent e9639d208e
commit fc0a01d008

View File

@@ -16,7 +16,5 @@ data:
echo "curl could not be found, installing" echo "curl could not be found, installing"
apk add curl apk add curl
fi fi
echo "updating port with $1" echo "updating port with $1"
curl -i -X POST -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences"'
curl -i -X POST -d "json={\"listen_port\": $1}" "http://localhost:8080/api/v2/app/setPreferences"'