Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/540fcd24f253e5b1349e222e9cfbc600f04adf35?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
1 additions and
1 deletions
@ -55,7 +55,7 @@ function default_settings() {
function update_script( ) {
function update_script( ) {
header_info
header_info
if [ [ ! -d /opt/zoraxy/ ] ] ; then msg_error " No ${ APP } Installation Found! " ; exit; fi
if [ [ ! -d /opt/zoraxy/ ] ] ; then msg_error " No ${ APP } Installation Found! " ; exit; fi
if [ [ ! -f /opt/${ APP } _version.txt ] ] || [ [ " ${ RELEASE } " != " $( cat /opt/${ APP } _version.txt) " ] ] ; then
if [ [ ! -f /opt/${ APP } _version.txt ] ] || [ [ " ${ RELEASE } " != " $( cat /opt/${ APP } _version.txt) " ] ] ; then
RELEASE = $( curl -s https://api.github.com/repos/tobychui/zoraxy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }' )
RELEASE = $( curl -s https://api.github.com/repos/tobychui/zoraxy/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }' )
msg_info " Updating $APP to ${ RELEASE } "
msg_info " Updating $APP to ${ RELEASE } "
systemctl stop zoraxy
systemctl stop zoraxy