Wealthfolio: update to v3.2.1 and Node.js 24 (#13486)

This commit is contained in:
FADIL
2026-04-03 12:26:15 -04:00
committed by GitHub
parent 2acac05ddb
commit 5540d57431
2 changed files with 4 additions and 2 deletions

View File

@@ -29,6 +29,8 @@ function update_script() {
exit
fi
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
if grep -q '^WF_CORS_ALLOW_ORIGINS=\*$' /opt/wealthfolio/.env; then
sed -i "s|^WF_CORS_ALLOW_ORIGINS=\*$|WF_CORS_ALLOW_ORIGINS=http://${LOCAL_IP}:8080|" /opt/wealthfolio/.env
fi