Skip to content

Commit

Permalink
build: Stripe erroneous http / https from IP environment variable (#746)
Browse files Browse the repository at this point in the history
Signed-off-by: FestHesten <[email protected]>
  • Loading branch information
FestHesten authored Jan 14, 2025
1 parent 3b2eba8 commit e94613a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ while true; do
esac
done

# Prompt user for new IP address
# Prompt user for new IP address and strip http:// or https://
read -p "Enter the new IP address or domain (default: localhost): " new_ip
new_ip=$(sed -E 's/^\s*.*:\/\///g' <<< $new_ip)
new_ip=${new_ip:-localhost}

# Prompt user for PostgreSQL SSL mode
Expand Down

0 comments on commit e94613a

Please sign in to comment.