From 2e543b7cd47de76447ae3e5b5184f895c9ab3eb8 Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Mon, 22 Sep 2025 08:11:36 +0200 Subject: [PATCH] Allow binding to all interfaces in app.sh (#147) --- web/app.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/app.sh b/web/app.sh index 9108b98..ee16f09 100755 --- a/web/app.sh +++ b/web/app.sh @@ -17,4 +17,8 @@ set -euo pipefail bundle install -exec ruby app.rb -p 41447 -o 127.0.0.1 + +PORT=${PORT:-41447} +BIND_ADDRESS=${BIND_ADDRESS:-0.0.0.0} + +exec ruby app.rb -p "${PORT}" -o "${BIND_ADDRESS}"