Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/e71b8cd2de575a76c77a4252f0d5535253f5e100?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
2 deletions
@ -431,8 +431,8 @@ msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
msg_ok " Virtual Machine ID is ${ CL } ${ BL } $VMID ${ CL } . "
msg_ok " Virtual Machine ID is ${ CL } ${ BL } $VMID ${ CL } . "
msg_info "Getting URL for OpenWrt Disk Image"
msg_info "Getting URL for OpenWrt Disk Image"
regex = '<strong>Current Stable Release - OpenWrt ([^/]*)<\/strong>' && response = $( curl -s https://openwrt.org ) && [ [ $response = ~ $regex ] ] && stableVersion = " ${ BASH_REMATCH [1] } "
# regex= '<strong>Current Stable Release - OpenWrt ([^/]*)<\/strong>' && response=$(curl -s https://openwrt.org) && [[ $response =~ $regex ]] && stableVersion="${BASH_REMATCH[1]}"
URL = https://downloads.openwrt.org/releases/$stableVersion /targets/x86/64/openwrt-$stableVersion -x86-64-generic-ext4-combined.img.gz
URL = https://downloads.openwrt.org/releases/23.05.0/targets/x86/64/openwrt-23.05.0 -x86-64-generic-ext4-combined.img.gz
sleep 2
sleep 2
msg_ok " ${ CL } ${ BL } ${ URL } ${ CL } "
msg_ok " ${ CL } ${ BL } ${ URL } ${ CL } "