From f8a43b5b1cc3e1d6d7923d77129f2ba5089decf6 Mon Sep 17 00:00:00 2001 From: Gian Miguel Del Mundo Date: Fri, 9 Feb 2024 15:55:08 +0800 Subject: [PATCH] Updated URL paths --- scripts/aws/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/aws/entrypoint.sh b/scripts/aws/entrypoint.sh index 0a51cb45f..68d20af7b 100644 --- a/scripts/aws/entrypoint.sh +++ b/scripts/aws/entrypoint.sh @@ -94,7 +94,9 @@ function jq_inplace_update_json() { if [ -n "${CORE_BASE_URL}" ] && [ -n "${OPTOUT_BASE_URL}" ] && [ "${DEPLOYMENT_ENVIRONMENT}" != "prod" ]; then echo "Replacing core and optout URLs by ${CORE_BASE_URL} and ${OPTOUT_BASE_URL}..." sed -i "s#https://core-integ.uidapi.com#${CORE_BASE_URL}#g" "${FINAL_CONFIG}" + sed -i "s#https://core-prod.uidapi.com#${CORE_BASE_URL}#g" "${FINAL_CONFIG}" sed -i "s#https://optout-integ.uidapi.com#${OPTOUT_BASE_URL}#g" "${FINAL_CONFIG}" + sed -i "s#https://optout-prod.uidapi.com#${OPTOUT_BASE_URL}#g" "${FINAL_CONFIG}" fi # -- replace `enforce_https` value to ENFORCE_HTTPS if provided @@ -124,6 +126,6 @@ java \ -Djava.security.egd=file:/dev/./urandom \ -Djava.library.path=/app/lib \ -Dvertx-config-path="${FINAL_CONFIG}" \ - "${SETUP_LOKI_LINE}" \ + $SETUP_LOKI_LINE \ -Dhttp_proxy=socks5://127.0.0.1:3305 \ -jar /app/"${JAR_NAME}"-"${JAR_VERSION}".jar