Remove custom IP fetching (#10954)

Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
Slaviša Arežina
2026-01-19 16:33:08 +01:00
committed by GitHub
parent bc53369bab
commit 90f73d1d24
51 changed files with 32 additions and 74 deletions

View File

@@ -56,7 +56,6 @@ function update_script() {
if [[ -f /opt/scanopy.oidc.toml ]]; then
mv /opt/scanopy.oidc.toml /opt/scanopy/oidc.toml
fi
LOCAL_IP="$(hostname -I | awk '{print $1}')"
if ! grep -q "PUBLIC_URL" /opt/scanopy/.env; then
sed -i "\|_PATH=|a\scanopy_PUBLIC_URL=http://${LOCAL_IP}:60072" /opt/scanopy/.env
fi