commit 661e81a0a3443c02ce4f90056d811096a0e7d698
parent cbad50523c12b0f3f7e81f695f1c2ace53d44b4a
Author: MS <ms@taler.net>
Date: Fri, 10 Mar 2023 15:52:39 +0100
moving var def above
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/netzbon/config_launch_libeufin.sh b/netzbon/config_launch_libeufin.sh
@@ -48,6 +48,12 @@ fi
# TODO: add sanity-checks for presence of other required env-vars
+if test ${ENABLE_TLS:-} == "y"
+then
+ PROTO="https"
+else
+ PROTO="http"
+fi
say "Setting up libeufin"
@@ -170,12 +176,6 @@ echo "EXCHANGE_IBAN=\"${EXCHANGE_IBAN}\"" >> ${MY_DIR}/config/internal.conf
echo "EXCHANGE_PAYTO=\"${EXCHANGE_PAYTO}\"" >> ${MY_DIR}/config/internal.conf
say "Setting the default exchange at Sandbox..."
-if test ${ENABLE_TLS:-} == "y"
-then
- PROTO="https"
-else
- PROTO="http"
-fi
libeufin-sandbox default-exchange "${PROTO}://exchange.$DOMAIN_NAME/" $EXCHANGE_PAYTO
say "DONE"