Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/a95657947db0f0c183422a95b09a2f4a919cacca?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Update zoraxy.sh

fix update
pull/3124/head
tteckster 1 year ago committed by GitHub
parent 7446dc4c73
commit a95657947d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,16 +58,15 @@ if [[ ! -d /opt/zoraxy/src ]]; then msg_error "No ${APP} Installation Found!"; e
msg_info "Updating $APP" msg_info "Updating $APP"
systemctl stop zoraxy systemctl stop zoraxy
cd /opt/zoraxy/src cd /opt/zoraxy/src
if ! git pull; then systemctl stop zoraxy
echo "Already up to date." if git pull | grep -q 'Already up to date.'; then
systemctl start zoraxy msg_ok "Already up to date. No update required."
echo "No update required." else
exit go mod tidy
go build
msg_ok "Updated $APP"
fi fi
go mod tidy
go build
systemctl start zoraxy systemctl start zoraxy
msg_ok "Updated $APP"
exit exit
} }

Loading…
Cancel
Save

Powered by BW's shoe-string budget.