From d1569bf15c323679860dc6fd193ef21538ba838f Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 6 Mar 2026 14:24:43 +0100 Subject: [PATCH] Update wealthfolio.sh --- ct/wealthfolio.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ct/wealthfolio.sh b/ct/wealthfolio.sh index e8091dfe7..09652ff23 100644 --- a/ct/wealthfolio.sh +++ b/ct/wealthfolio.sh @@ -29,6 +29,10 @@ function update_script() { exit fi + 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 + if check_for_gh_release "wealthfolio" "afadil/wealthfolio"; then msg_info "Stopping Service" systemctl stop wealthfolio