Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/37f42468ba295b42f4cd636fb31d8eacbd2703ab?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
3 deletions
@ -75,10 +75,9 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}
rm -rf /opt/dashy
rm -rf /opt/dashy
mkdir -p /opt/dashy
mkdir -p /opt/dashy
wget -qO- https://github.com/Lissy93/dashy/archive/refs/tags/${ RELEASE } .tar.gz | tar -xz -C /opt/dashy --strip-components= 1
wget -qO- https://github.com/Lissy93/dashy/archive/refs/tags/${ RELEASE } .tar.gz | tar -xz -C /opt/dashy --strip-components= 1
sed -i 's/NODE_OPTIONS=--openssl-legacy-provider vue-cli-service build/NODE_OPTIONS=yarn vue-cli-service build/' /opt/dashy/package.json
cd /opt/dashy
cd /opt/dashy
yarn & >/dev/null
npm install & >/dev/null
yar n build & >/dev/null
npm ru n build & >/dev/null
echo " ${ RELEASE } " >/opt/${ APP } _version.txt
echo " ${ RELEASE } " >/opt/${ APP } _version.txt
msg_ok " Updated ${ APP } to ${ RELEASE } "
msg_ok " Updated ${ APP } to ${ RELEASE } "