fix: use localhost

This commit is contained in:
Kyle Kroboth 2025-03-12 22:59:28 -04:00
parent 7a1800f7fe
commit 68f6f35a0d

View File

@ -30,7 +30,7 @@ function update_script() {
exit exit
fi fi
UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://${IP}:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable) UPDATE_AVAILABLE=$(curl -s -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable)
if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then if [[ "${UPDATE_AVAILABLE}" == "true" ]]; then
msg_info "Stopping $APP" msg_info "Stopping $APP"
systemctl stop fileflows systemctl stop fileflows