Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/dafa19a6086abb41d8c3f9656f26169ba2ef34b3?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
8 deletions
@ -16,7 +16,7 @@ color() {
CM="${GN}✓${CL}"
CM="${GN}✓${CL}"
CROSS="${RD}✗${CL}"
CROSS="${RD}✗${CL}"
BFR="\\r\\033[K"
BFR="\\r\\033[K"
HOLD="- "
HOLD=" "
}
}
# This function enables error handling in the script by setting options and defining a trap for the ERR signal.
# This function enables error handling in the script by setting options and defining a trap for the ERR signal.
@ -38,13 +38,13 @@ error_handler() {
# This function displays a spinner.
# This function displays a spinner.
spinner() {
spinner() {
printf "\e[?25l "
local chars="/-\| "
spinner="/-\\|/-\\|"
local spin_i=0
spin_i=0
printf "\e[?25l"
while true; do
while true; do
printf "\b%s" "${spinner:spin_i++%${#spinner }:1}"
printf "\r \e[36m%s\e[0m" "${chars:spin_i++%${#chars }:1}"
sleep 0.1
sleep 0.1
done
done
}
}
# This function displays an informational message with a yellow color.
# This function displays an informational message with a yellow color.