Parcourir la source

use default port for bubble

tags/v1.4.16
Jonathan Cobb il y a 4 ans
Parent
révision
f22ee803ee
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      bin/bubble

+ 2
- 1
bin/bubble Voir le fichier

@@ -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"


Chargement…
Annuler
Enregistrer