Browse Source

use default port for bubble

tags/v1.4.16
Jonathan Cobb 3 years ago
parent
commit
f22ee803ee
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bin/bubble

+ 2
- 1
bin/bubble View File

@@ -78,7 +78,8 @@ if [[ "${BUBBLE_API}" == "local" ]] ; then
if [[ -z "${BUBBLE_PORT}" ]] ; then
BUBBLE_PORT="$(cat ${BUBBLE_ENV} | egrep -v '\s*#' | grep BUBBLE_SERVER_PORT | awk -F '=' '{print $NF}' | tr -d "'" | tr -d '"')"
if [[ -z "${BUBBLE_PORT}" ]] ; then
die "Error reading BUBBLE_SERVER_PORT from ${BUBBLE_ENV}"
echo "Error reading BUBBLE_SERVER_PORT from ${BUBBLE_ENV} (using default 8090)"
BUBBLE_PORT=8090
fi
fi
BUBBLE_API="http://127.0.0.1:${BUBBLE_PORT}/api"


Loading…
Cancel
Save