Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/df25fe94461f752188714f5e5b7a9f32ec98ad06?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
4 deletions
@ -35,7 +35,7 @@ catch_errors() {
error_handler() {
error_handler() {
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID; fi
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID; fi
printf "\033[?25h"
tput cnorm
local exit_code="$?"
local exit_code="$?"
local line_number="$1"
local line_number="$1"
local command="$2"
local command="$2"
@ -45,7 +45,7 @@ error_handler() {
# This function displays a spinner.
# This function displays a spinner.
spinner() {
spinner() {
printf "\033[?25l"
tput civis
spinner="/-\\|/-\\|"
spinner="/-\\|/-\\|"
spin_i=0
spin_i=0
while true; do
while true; do
@ -65,7 +65,7 @@ msg_info() {
# This function displays a success message with a green color.
# This function displays a success message with a green color.
msg_ok() {
msg_ok() {
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID; fi
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID; fi
printf "\033[?25h"
tput cnorm
local msg="$1"
local msg="$1"
echo -e "${BFR} ${CM} ${GN}${msg}${CL}"
echo -e "${BFR} ${CM} ${GN}${msg}${CL}"
}
}
@ -73,7 +73,7 @@ msg_ok() {
# This function displays a error message with a red color.
# This function displays a error message with a red color.
msg_error() {
msg_error() {
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID; fi
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID; fi
printf "\033[?25h"
tput cnorm
local msg="$1"
local msg="$1"
echo -e "${BFR} ${CROSS} ${RD}${msg}${CL}"
echo -e "${BFR} ${CROSS} ${RD}${msg}${CL}"
}
}